deleteAllMessageAndConversation method

Future<void> deleteAllMessageAndConversation({
  1. bool clearServerData = false,
})

~english Clears all conversations and all messages in them. Param clearServerData Whether to clear all conversations and all messages in them on the server.

  • true: Yes. All conversations and all messages in them will be cleared on the server side. The current user cannot retrieve messages and conversations from the server, while this has no impact on other users.
  • (Default) false:No. All local conversations and all messages in them will be cleared, while those on the server remain. ~end

~chinese 清空所有会话和会话中的所有消息。 Param clearServerData 是否删除服务端所有会话及其消息:

  • true: 是。服务端的所有会话及其消息会被清除,当前用户无法再从服务端拉取消息和会话,其他用户不受影响。
  • (默认)false: 否。只清除本地所有会话及其消息,服务端的会话及其消息仍保留。 ~end

Implementation

Future<void> deleteAllMessageAndConversation({
  bool clearServerData = false,
}) async {
  throw UnimplementedError("not implemented.");
}