getUnreadMessageCountExceptMutedChat static method

Future<int?> getUnreadMessageCountExceptMutedChat()

Retrieves the count of unread messages in all active chats, excluding muted chats.

Returns a Future that completes with the count of unread messages, or null if an error occurs during the operation.

Usage:

int? unreadCount = await Mirrorfly.getUnreadMessageCountExceptMutedChat();
print('Unread message count: $unreadCount');

Implementation

static Future<int?> getUnreadMessageCountExceptMutedChat() {
  return FlyChatFlutterPlatform.instance
      .getUnreadMessageCountExceptMutedChat();
}