Channel Unread Count
Last updated
Was this helpful?
Last updated
Was this helpful?
The SDK provides a simple way for clients to retrieve the unread count for a channel. To view the unread count for a channel, we can get it from a channel object. This count represents the number of messages that you have not yet read in that channel.
Gets the total unread count of all channels. This only includes unread count from default subChannel of the channels that are already cached after being fetched from the server and excludes all.
To check if a channel supports the Unread Count feature, you can use the following code:
To get the mention status of the current user in a channel, developers can use the following code.
To get the mention status of the current user in a sub channel, developers can use the following code.