Chat / Flutter
Current version: v3
Chat Flutter v3
Chat Flutter
Chat
Flutter
Home
/
Chat
/
Flutter
/
Message

Retrieve number of channels with unread messages

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();