RSIMConversation constructor

const RSIMConversation({
  1. required int conversationType,
  2. String? targetId,
  3. String? channelId,
  4. int unreadMessageCount = 0,
  5. bool isPinned = false,
  6. bool isPinnedForTag = false,
  7. int lastReceivedTime = 0,
  8. int lastSentTime = 0,
  9. int lastOperateTime = 0,
  10. String? objectName,
  11. String? senderUserId,
  12. int lastMessageId = 0,
  13. String? lastMessageContent,
  14. RSIMMessage? lastMessage,
  15. String? draft,
  16. int muteLevel = 0,
  17. int mentionedCount = 0,
  18. int mentionedMeCount = 0,
  19. int matchCount = 0,
  20. int channelType = 0,
  21. int firstUnreadMessageSendTime = 0,
  22. bool includeRobot = false,
  23. int translateStrategy = 0,
  24. bool isHidden = false,
  25. RSIMModifyMessageDraft? metadata,
  26. RSIMDataManagementInfo? dataMgmtInfo,
  27. List<RSIMConversationAttribute> conversationAttributes = const <RSIMConversationAttribute>[],
})

Implementation

const RSIMConversation({
  required this.conversationType,
  this.targetId,
  this.channelId,
  this.unreadMessageCount = 0,
  this.isPinned = false,
  this.isPinnedForTag = false,
  this.lastReceivedTime = 0,
  this.lastSentTime = 0,
  this.lastOperateTime = 0,
  this.objectName,
  this.senderUserId,
  this.lastMessageId = 0,
  this.lastMessageContent,
  this.lastMessage,
  this.draft,
  this.muteLevel = 0,
  this.mentionedCount = 0,
  this.mentionedMeCount = 0,
  this.matchCount = 0,
  this.channelType = 0,
  this.firstUnreadMessageSendTime = 0,
  this.includeRobot = false,
  this.translateStrategy = 0,
  this.isHidden = false,
  this.metadata,
  this.dataMgmtInfo,
  this.conversationAttributes = const <RSIMConversationAttribute>[],
});