UserEventHandler

User event handler. To add or remove this handler, refer to SendbirdChat.addUserEventHandler and SendbirdChat.removeUserEventHandler.

Since

3.0.47

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
abstract fun onFriendsDiscovered(users: List<User>)

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 GroupChannels the current user has joined, and number of unread message of GroupChannel for all subscribed custom type.