getTotalUnreadMessageCount

fun SendbirdChat.getTotalUnreadMessageCount(params: GroupChannelTotalUnreadMessageCountParams = GroupChannelTotalUnreadMessageCountParams(), handler: ResultHandler<UnreadMessageCountResult>?)

Gets the total number of unread message of GroupChannels with GroupChannelTotalUnreadMessageCountParams filter.

Since

4.15.0

Parameters

params

GroupChannelTotalUnreadMessageCountParams

handler

UnreadMessageCountHandler


suspend fun SendbirdChat.getTotalUnreadMessageCount(params: GroupChannelTotalUnreadMessageCountParams = GroupChannelTotalUnreadMessageCountParams()): UnreadMessageCountResult

Deprecated

As of 4.17.0, replaced with awaitGetTotalUnreadMessageCount(params).

Replace with

awaitGetTotalUnreadMessageCount(params)

Gets the total number of unread message of GroupChannels with GroupChannelTotalUnreadMessageCountParams filter.

Since

4.15.0

Parameters

params

GroupChannelTotalUnreadMessageCountParams