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.
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.