get Unread Count
Retrieves the count of unread messages for the specified conversation.
Note: Chatrooms are excluded, and messages in chatrooms are not counted.
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.
The callback for the count of unread messages.
Retrieves the total count of unread messages for the specified conversation types.
Note: Chatroom messages are not included in the count.
Parameters
Callback for the unread message count.
Conversation types. Multiple conversation types can be passed.
Retrieves the total count of unread messages for specified conversation types.
Note: Chatroom messages are not included in the count.
Parameters
Array of conversation types Conversation.ConversationType.
Callback for the unread message count.
Indicates whether to include unread messages from muted conversations.
Get the total unread message count for specified conversation types.
Note: Chatroom messages are not included in the count.
Parameters
Array of conversation types Conversation.ConversationType.
Callback for the unread message count.