getTotalUnreadMessageCount method

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

获取会话未读总数

Implementation

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