await Get Unread Item Count
suspend fun SendbirdChat.awaitGetUnreadItemCount(params: GroupChannelUnreadItemCountParams): Map<UnreadItemKey, Int>
Gets the unread item count of GroupChannel
s corresponding to GroupChannelUnreadItemCountParams.
Since
4.19.0
Parameters
params
Parameters for getting unread item count.
suspend fun SendbirdChat.awaitGetUnreadItemCount(keys: Collection<UnreadItemKey>): Map<UnreadItemKey, Int>
Deprecated
As of 4.19.0, replaced with awaitGetUnreadItemCount(params).
Replace with
import com.sendbird.android.channel.GroupChannelUnreadItemCountParams
Content copied to clipboard
SendbirdChat.awaitGetUnreadItemCount(GroupChannelUnreadItemCountParams(keys))
Content copied to clipboard
Gets the unread item count of GroupChannel
s from keys.
Since
4.17.0
Parameters
keys
Unread item keys. Refer to UnreadItemKey.