onTotalUnreadMessageCountChanged method

void onTotalUnreadMessageCountChanged(
  1. UnreadMessageCount unreadMessageCount
)

Gets the subscribed total number of unread message of all GroupChannels and FeedChannels the current user has joined, and number of unread message of GroupChannel for all subscribed custom type. @since 4.0.1

Implementation

void onTotalUnreadMessageCountChanged(
  UnreadMessageCount unreadMessageCount,
) {}