getUnreadItemCount

suspend fun SendbirdChat.getUnreadItemCount(keys: Collection<UnreadItemKey>): Map<UnreadItemKey, Int>

Gets the unread item count of GroupChannels from keys.

Since

4.15.0

Parameters

keys

Unread item keys. Refer to UnreadItemKey.


fun SendbirdChat.getUnreadItemCount(keys: Collection<UnreadItemKey>, handler: ResultHandler<Map<UnreadItemKey, Int>>?)

Gets the unread item count of GroupChannels from keys.

Since

4.15.0

Parameters

keys

Unread item keys. Refer to UnreadItemKey.

handler

Callback handler.