cleanConversation method
Future<V2TimValueCallback<List<V2TimConversationOperationResult>>>
cleanConversation(
{ - required List<String> conversationIDList,
- required bool clearMessage,
})
Implementation
Future<V2TimValueCallback<List<V2TimConversationOperationResult>>> cleanConversation({
required List<String> conversationIDList,
required bool clearMessage,
}) async {
V2TimValueCallback<List<V2TimConversationOperationResult>> deleteRes =
await TencentCloudChat.instance.chatSDKInstance.manager.getConversationManager().deleteConversationList(
conversationIDList: conversationIDList,
clearMessage: clearMessage,
);
console(
"deleteConversationList exec, conversationID is ${conversationIDList.join(',')} res is ${deleteRes.code} desc is ${deleteRes.desc}");
return deleteRes;
}