Skip to main content

ConversationInfo 是 SDK 封装的通用会话对象。ConversationInfo 对象中的 conversation(Conversation 类型)用来唯一标识一个会话。Conversation 包含两个属性:conversationType 标识会话类型,conversationId 标识会话 id。

属性名类型说明版本
conversationConversation会话标识1.0.0
lastMessageMessage会话的最后一条消息1.0.0
unreadCountint当前会话的未读数1.0.0
sortTimelong会话排序时间(服务端时间)1.0.0
isTopboolean是否置顶1.0.0
topTimelong会话置顶时间1.0.0
muteboolean是否免打扰1.0.0
draftString会话草稿1.0.0
mentionInfoConversationMentionInfo@ 信息1.0.0