mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 05:16:07 +00:00
direct message
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user