To receive information about events related to users connected to the Sendbird server, add a user event delegate
UserEventDelegate) with its unique user-defined ID.
If you want to stay informed of changes related to users and notify the changes to different client apps, define and register multiple user event delegates to each view controller.
|Method||Invoked when||Notified devices|
There has been an update on the total number of a user's unread messages because the user read messages in group channels.
The user's devices running client apps. The devices are notified with the total number of unread messages along with a collection of the number of unread messages by custom channel type.
The following code shows a full set of supported event callbacks with their parameters and how to add a user event delegate to the unique
Note: To retrieve
totalCountByCustomType, visit this page and contact us on Sendbird Dashboard.
The following code shows how to remove the user event delegate.