deleteConversation method
删除会话
请注意:
删除会话会在本地删除的同时,在服务器也会同步删除。
会话内的消息在本地删除的同时,在服务器也会同步删除。
Implementation
@override
Future<V2TimCallback> deleteConversation({
/*required*/ required String conversationID,
}) async {
Map<String, dynamic> param = {
"conversationID": conversationID,
};
var resp = V2TimCallback.fromJson(
formatJson(
await _channel.invokeMethod(
"deleteConversation",
buildConversationManagerParam(
param,
),
),
),
);
log("deleteConversation", param, resp.toLogString());
return resp;
}