remove Conversation
public abstract void removeConversation(ConversationType conversationType, String targetId, IRongCoreCallback.ResultCallback<Boolean> callback)
Removes a conversation from the conversation list.
This method does not delete messages within the conversation. If new messages are received in this conversation, the conversation will reappear in the conversation list and display the most recent history messages.
Since
5.0.0
Parameters
conversation Type
The type of the conversation Conversation.ConversationType.
target Id
The ID of the conversation. Depending on the conversationType, this could be a user ID, discussion group ID, group ID, or chatroom ID.
callback
Callback indicating whether the removal was successful, of type Boolean, ResultCallback<Boolean>
.