User Event Handler
User event handler. To add or remove this handler, refer to SendbirdChat.addUserEventHandler and SendbirdChat.removeUserEventHandler.
Since
3.0.47
Functions
Link copied to clipboard
A callback for when a message is received.
Link copied to clipboard
Gets the subscribed total number of unread message of all GroupChannels and FeedChannels the current user has joined, and number of unread message of GroupChannel for all subscribed custom type.
open fun onTotalUnreadMessageCountChanged(totalCount: Int, totalCountByCustomType: Map<String, Int>)
Gets the subscribed total number of unread message of all GroupChannel
s the current user has joined, and number of unread message of GroupChannel
for all subscribed custom type.