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