getTotalUnreadMessageCount method

Future<int> getTotalUnreadMessageCount()

Returns total number of unrad messages.

Implementation

Future<int> getTotalUnreadMessageCount() async {
  final params = GroupChannelTotalUnreadMessageCountParams();
  params.superChannelFilter = SuperChannelFilter.all;
  return getTotalUnreadMessageCountWithParams(params);
}