ChatMessageModel constructor

ChatMessageModel({
  1. String? message,
  2. String? tempLocalId,
  3. String? messageId,
  4. String? timeSend,
  5. String? senderId,
  6. String? roomId,
  7. String? quoteFromMessageId,
  8. String? forwardFromMessageId,
  9. String? forwardFromRoomId,
  10. List<AttachmentsModel>? attachments,
  11. SenderProfile? senderProfile,
  12. int? type,
  13. List<String>? mentionIds,
  14. bool? isDeleted,
  15. bool? isEdited,
  16. bool? isSender,
  17. String? text,
  18. String? time,
  19. ChatMessageType? messageType,
  20. MessageStatus? messageStatus,
  21. String? blockerId,
  22. 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,
});