/ SDKs / Flutter
Chat SDKs Flutter v3
Chat SDKs Flutter
Chat SDKs
Version 3
Sendbird Chat SDK v3 for Flutter is no longer supported as a new version is released. Check out our latest Chat SDK v4

Retrieve number of unread messages in a channel

Copy link

Using the unreadMessageCount method, you can retrieve the total number of a user's unread messages in a group channel.

final unreadMessageCount = groupChannel.unreadMessageCount;