getTotalUnreadMessageCount method

  1. @override
Future<V2TimValueCallback<int>> getTotalUnreadMessageCount()
override

获取会话未读总数

Implementation

@override
Future<V2TimValueCallback<int>> getTotalUnreadMessageCount() async {
  return V2TimValueCallback<int>.fromJson(
    formatJson(
      await _channel.invokeMethod(
        "getTotalUnreadMessageCount",
        buildConversationManagerParam(
          {},
        ),
      ),
    ),
  );
}