get Unread Item Count
fun getUnreadItemCount(params: GroupChannelUnreadItemCountParams, handler: GroupChannelGetUnreadItemCountHandler?)
Gets the unread item count of GroupChannel
s corresponding to GroupChannelUnreadItemCountParams.
Since
4.19.0
Parameters
params
Parameters for getting unread item count.
handler
Callback handler.
fun getUnreadItemCount(keys: Collection<UnreadItemKey>, handler: GroupChannelGetUnreadItemCountHandler?)
Deprecated
As of 4.19.0, replaced with getUnreadItemCount(params, handler).
Replace with
import com.sendbird.android.channel.GroupChannelUnreadItemCountParams
Content copied to clipboard
SendbirdChat.getUnreadItemCount(GroupChannelUnreadItemCountParams(keys), handler)
Content copied to clipboard
Gets the unread item count of GroupChannel
s from keys.
Since
3.0.75
Parameters
keys
Unread item keys. Refer to UnreadItemKey.
handler
Callback handler.