get Unread Count
Retrieves the count of unread messages of the specified message types in the specified conversation (excluding chatroom conversations).
Since
5.1.5
Parameters
The target ID of the conversation.
The type of the conversation.
An array of message types.
The callback for the unread count result.
Retrieves the count of unread messages for the specified conversation.
Note: Chatroom messages are not included in the count.
Since
5.0.0
Parameters
The type of conversation Conversation.ConversationType.
The ID of the conversation. Depending on the conversationType, this could be a user ID, discussion group ID, or group ID.
Callback for the unread message count.
Retrieves the total count of unread messages for specified conversation types.
Note: Chatroom messages are not included in the count.
Since
5.0.0
Parameters
Array of conversation types Conversation.ConversationType.
Callback for the unread message count.
Indicates whether to include unread messages from muted conversations.
Retrieves the total count of unread messages for specified conversation types.
Note: Chatroom messages are not included in the count.
Since
5.0.0
Parameters
Array of conversation types Conversation.ConversationType.
Callback for the unread message count.
Retrieves the total count of unread messages for specified conversation types.
Note: Chatroom messages are not included in the count.
Since
5.0.0
Parameters
Callback for the unread message count.
Conversation types. Multiple conversation types can be passed.