get Ultra Group Unread Count
public abstract void getUltraGroupUnreadCount(String targetId, IRongCoreCallback.ResultCallback<Integer> callback)
Get the total count of unread messages across all channels in a specified ultra group
Since
5.2.2
Parameters
target Id
The conversation ID
callback
The callback for retrieving the total count of unread messages across all channels in the specified ultra group
public abstract void getUltraGroupUnreadCount(String targetId, List<IRongCoreEnum.PushNotificationLevel> levels, IRongCoreCallback.ResultCallback<Integer> callback)
Retrieves the count of unread messages for a specified ultra group conversation (including all channels).
Since
5.2.5
Parameters
target Id
The conversation ID of the ultra group.
levels
The list of Do Not Disturb levels [PushNotificationLevel].
callback
Callback for retrieving the count of unread messages for the specified ultra group conversation (including all channels).