direct message

This commit is contained in:
Peter Maquiran
2024-08-22 12:27:57 +01:00
parent 24aac56824
commit 09a8693ea9
21 changed files with 278 additions and 172 deletions
+6 -6
View File
@@ -3,22 +3,22 @@ import { MessageAttachmentFileType, MessageAttachmentSource } from "src/app/modu
import { MessageEntity } from "src/app/module/chat/domain/entity/message";
export class MessageViewModal {
$id: number
id: string
$id!: number
id!: string
roomId?: string
receiverId?: number
message: string
message!: string
messageType: number = 0
canEdit: boolean = false
oneShot: boolean = false
sentAt: string
sentAt!: string
requireUnlock: boolean = false
info: {
memberId?: number
readAt?: string,
deliverAt?: string
}[] = []
sender: {
sender!: {
wxUserId: number,
wxFullName: string,
wxeMail: string,
@@ -41,7 +41,7 @@ export class MessageViewModal {
}[] = []
reactions = []
requestId: string
requestId!: string
status = ''
constructor(model: MessageEntity) {