getTotalUnreadCount

public abstract void getTotalUnreadCount(String channelId, IRongCoreCallback.ResultCallback<Integer> callback)

Get the total count of unread messages across all conversations.

Note: Chatroom messages are not included in the count.

Since

5.1.1

Parameters

channelId

The business identifier of the conversation to which the message belongs.

callback

Callback for the unread message count.


public abstract void getTotalUnreadCount(String channelId, boolean containBlocked, IRongCoreCallback.ResultCallback<Integer> callback)

Since

5.2.3

Parameters

channelId
containBlocked
callback