/ SDKs / Flutter
SDKs
Chat SDKs Flutter v3
Chat SDKs Flutter
Chat SDKs
Flutter
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 channels with unread messages

Copy link

Using the getTotalUnreadChannelCount() method, you can retrieve the total number of group channels in which a user has one or more unread messages.

// This method is called from the SendbirdSdk class.
int unreadChannelCount = await sendbird.getTotalUnreadChannelCount();