get Unread Count
Retrieves the count of unread messages for a specified conversation.
Note: Chatroom messages are not included in the count.
Since
5.1.1
Parameters
The type of conversation .
The ID of the conversation. Depending on the conversationType, it could be a user ID, discussion group ID, or group ID.
The business identifier of the conversation to which the message belongs.
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.1.1
Parameters
Callback for the unread message count.
Business identifier of the conversation to which the messages belong.
Conversation types, multiple types can be passed.
Retrieve the total count of unread messages for specified conversation types.
Note: Chatroom messages are not included in the count.
Since
5.1.1
Parameters
Array of conversation types .
Business identifier of the conversation to which the messages belong.
Callback for the unread message count.
Indicates whether to include unread messages from muted conversations.
Retrieves the count of unread messages of specified types in a given 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 business identifier of the conversation to which the messages belong.
Callback for the unread count result.
Get the count of unread messages in conversations
Since
5.2.5
Parameters
List of conversation types: [one-to-one chat, group chat, ultra group]
List of Do Not Disturb levels [PushNotificationLevel]
Callback for retrieving the count of unread messages in conversations