removeConversations

public abstract void removeConversations(List<ConversationIdentifier> conversationIdentifiers, IRongCoreCallback.ResultCallback<Boolean> callback)

Removes a conversation from the conversation list in bulk.

This method does not delete messages within the conversation. If new messages are received in this conversation, it will reappear in the conversation list with the latest historical messages displayed.

Supported conversation types: one-to-one chat, group chat, system message.

Since

5.6.7

Parameters

conversationIdentifiers

List of conversation identifiers, with a maximum of 20.

callback

Callback indicating whether the removal was successful. The callback type is Boolean, ResultCallback<Boolean>.