Skip to main content

ConversationInfo is the common conversation object provided by the SDK. Its conversation property (of type Conversation) uniquely identifies a conversation. Conversation contains two properties: conversationType identifies the conversation type and conversationId identifies the conversation ID.

PropertyTypeDescriptionVersion
conversationConversationConversation identifier1.0.0
lastMessageMessageLatest message in the conversation1.0.0
unreadCountintUnread count for the current conversation1.0.0
sortTimelongConversation sort time (server time)1.0.0
isTopbooleanWhether the conversation is pinned1.0.0
topTimelongConversation pin time1.0.0
mutebooleanWhether Mute Notifications is enabled1.0.0
draftStringConversation draft1.0.0
mentionInfoConversationMentionInfoMention information1.0.0
displayNameStringConversation display name, shown according to the default display rules1.8.39
aliasStringConversation alias. Uses the group alias for group conversations and the friend alias for private conversations.1.8.39
nameStringConversation name. Uses the group name for group conversations and the user name for private conversations.1.8.39
portraitStringConversation avatar URL1.8.39