deleteConversation method

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

删除会话

请注意:

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

Implementation

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