onTotalUnreadMessageCountUpdated method

void onTotalUnreadMessageCountUpdated(
  1. int totalCount,
  2. Map<String, int> totalCountByCustomType
)

Gets the subscribed total number of unread message of all GroupChannels the current user has joined, and number of unread message of GroupChannel for all subscribed custom type. @deprecated as of 4.0.1, replaced by onTotalUnreadMessageCountChanged

Implementation

void onTotalUnreadMessageCountUpdated(
  int totalCount,
  Map<String, int> totalCountByCustomType,
) {}