Feature Description
If a user doesn't want to view the historical one-to-one or group messages after deleting a friend or leaving a group, the user can choose to delete the conversation.
Caution:
When a conversation is deleted, the historical messages will be deleted from both the client and the server and cannot be recovered.
Multi-client sync is disabled for conversation deletion by default and can be enabled in the IM console. Deleting a Conversation
Call the deleteConversation
API (Details) to delete a specified conversation. Sample code:
// Delete a specified conversation
conversationManager.deleteConversation(conversationID: "conversationID");
Was this page helpful?