NIMChatroomMessage constructor

NIMChatroomMessage(
  1. {bool enableHistory = true,
  2. bool isHighPriorityMessage = false,
  3. NIMChatroomMessageExtension? extension,
  4. String? messageId,
  5. String? sessionId,
  6. NIMSessionType? sessionType,
  7. required NIMMessageType messageType,
  8. int? messageSubType,
  9. NIMMessageStatus? status,
  10. required NIMMessageDirection messageDirection,
  11. String? fromAccount,
  12. String? content,
  13. required int timestamp,
  14. NIMMessageAttachment? messageAttachment,
  15. NIMMessageAttachmentStatus? attachmentStatus,
  16. String? uuid,
  17. int? serverId,
  18. Map<String, dynamic>? remoteExtension,
  19. Map<String, dynamic>? localExtension,
  20. String? callbackExtension,
  21. Map<String, dynamic>? pushPayload,
  22. String? pushContent,
  23. NIMMemberPushOption? memberPushOption,
  24. NIMClientType? senderClientType,
  25. NIMAntiSpamOption? antiSpamOption,
  26. bool messageAck = false,
  27. bool hasSendAck = false,
  28. int ackCount = 0,
  29. int unAckCount = 0,
  30. bool clientAntiSpam = false,
  31. bool isInBlackList = false,
  32. bool isChecked = false,
  33. bool sessionUpdate = true,
  34. NIMMessageThreadOption? messageThreadOption,
  35. int? quickCommentUpdateTime,
  36. bool isDeleted = false,
  37. Map<String, dynamic>? yidunAntiCheating,
  38. String? env,
  39. String? fromNickname,
  40. bool? isRemoteRead,
  41. String? yidunAntiSpamExt,
  42. String? yidunAntiSpamRes}
)

Implementation

NIMChatroomMessage