Channel Unread Count
Channel unread count
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.
Total unread count of all channels
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.
Check unread count support for channel
To check if a channel supports the Unread Count feature, you can use the following code:
Channel Mention Status
To get the mention status of the current user in a channel, developers can use the following code.
Subchannel Mention Status
To get the mention status of the current user in a sub channel, developers can use the following code.
Last updated
Was this helpful?