cleanConversationUnreadMessageCount method

  1. @override
Future<V2TimCallback> cleanConversationUnreadMessageCount({
  1. required String conversationID,
  2. required int cleanTimestamp,
  3. required int cleanSequence,
})
override

Implementation

@override
Future<V2TimCallback> cleanConversationUnreadMessageCount({
  required String conversationID,
  required int cleanTimestamp,
  required int cleanSequence,
}) async {
  return V2TimCallback.fromJson(
    formatJson(
      await _channel.invokeMethod(
        'cleanConversationUnreadMessageCount',
        buildConversationManagerParam(
          {
            "conversationID": conversationID,
            "cleanTimestamp": cleanTimestamp,
            "cleanSequence": cleanSequence,
          },
        ),
      ),
    ),
  );
}