RSIMConversation constructor
const
RSIMConversation({
- required int conversationType,
- String? targetId,
- String? channelId,
- int unreadMessageCount = 0,
- bool isPinned = false,
- bool isPinnedForTag = false,
- int lastReceivedTime = 0,
- int lastSentTime = 0,
- int lastOperateTime = 0,
- String? objectName,
- String? senderUserId,
- int lastMessageId = 0,
- String? lastMessageContent,
- RSIMMessage? lastMessage,
- String? draft,
- int muteLevel = 0,
- int mentionedCount = 0,
- int mentionedMeCount = 0,
- int matchCount = 0,
- int channelType = 0,
- int firstUnreadMessageSendTime = 0,
- bool includeRobot = false,
- int translateStrategy = 0,
- bool isHidden = false,
- RSIMModifyMessageDraft? metadata,
- RSIMDataManagementInfo? dataMgmtInfo,
- 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>[],
});