ChatMessageModel constructor
ChatMessageModel({
- String? message,
- String? tempLocalId,
- String? messageId,
- String? timeSend,
- String? senderId,
- String? roomId,
- String? quoteFromMessageId,
- String? forwardFromMessageId,
- String? forwardFromRoomId,
- List<
AttachmentsModel> ? attachments, - SenderProfile? senderProfile,
- int? type,
- List<
String> ? mentionIds, - bool? isDeleted,
- bool? isEdited,
- bool? isSender,
- String? text,
- String? time,
- ChatMessageType? messageType,
- MessageStatus? messageStatus,
- String? blockerId,
- String? id,
@ response in socket message
Implementation
ChatMessageModel({
this.message,
this.tempLocalId,
this.messageId,
this.timeSend,
this.senderId,
this.roomId,
this.quoteFromMessageId,
this.forwardFromMessageId,
this.forwardFromRoomId,
this.attachments,
this.senderProfile,
this.type,
this.mentionIds,
this.isDeleted,
this.isEdited,
this.isSender,
this.text,
this.time,
this.messageType,
this.messageStatus,
this.blockerId,
this.id,
});