A self hosted chat application with end-to-end encrypted messaging.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 lines
234 B

  1. import { MessageCipherDTO } from "./MessageCipherDTO";
  2. export class ChatMessageDTO {
  3. public toUser: string = "";
  4. public fromUser: string = "";
  5. public messageCipher!: MessageCipherDTO;
  6. public messageTime: Date = new Date();
  7. }