deleteConversation method

  1. @override
Future<V2TimCallback> deleteConversation({
  1. required String conversationID,
})
override

删除会话

请注意:

删除会话会在本地删除的同时,在服务器也会同步删除。
会话内的消息在本地删除的同时,在服务器也会同步删除。

Implementation

@override
Future<V2TimCallback> deleteConversation({
  /*required*/ required String conversationID,
}) async {
  return V2TimCallback.fromJson(
    formatJson(
      await _channel.invokeMethod(
        "deleteConversation",
        buildConversationManagerParam(
          {
            "conversationID": conversationID,
          },
        ),
      ),
    ),
  );
}