cleanConversationUnreadMessageCount method
Future<V2TimCallback>
cleanConversationUnreadMessageCount(
{ - required String conversationID,
- required int cleanTimestamp,
- required int cleanSequence,
})
override
Implementation
@override
Future<V2TimCallback> cleanConversationUnreadMessageCount({
required String conversationID,
required int cleanTimestamp,
required int cleanSequence,
}) async {
Map<String, dynamic> param = {
"conversationID": conversationID,
"cleanTimestamp": cleanTimestamp,
"cleanSequence": cleanSequence,
};
var resp = V2TimCallback.fromJson(
formatJson(
await _channel.invokeMethod(
'cleanConversationUnreadMessageCount',
buildConversationManagerParam(
param,
),
),
),
);
log("cleanConversationUnreadMessageCount", param, resp.toLogString());
return resp;
}