deleteConversation method
删除会话
Implementation
Future<bool> deleteConversation(String conversationID,
{Function(bool bol)? funCallBack}) async {
var deleteConversationRes = await TencentImSDKPlugin.v2TIMManager
.getConversationManager()
.deleteConversation(conversationID: conversationID);
//删除成功
if (deleteConversationRes.code == 0) {
funCallBack?.call(true);
return true;
} else {
funCallBack?.call(false);
return false;
}
}