OnTotalUnreadMessageCountChanged

Introduction

The callback of the changes of the total unread message counts event.

This number calculated by the exact total unread messages count minus those messages belongs to un-disturb conversations.

Returned template

OnTotalUnreadMessageCountChanged = void Function(
int totalUnreadCount
)

Return value details

name type description
totalUnreadCount int The total unread count.

Code example

    V2TimGroupListener listener = V2TimGroupListener(
      onTotalUnreadMessageCountChanged: (int totalUnreadCount) => {
      }
    );
    TencentImSDKPlugin.v2TIMManager.addGroupListener(listener: listener);

results matching ""

    No results matching ""