clear Messages
public abstract void clearMessages(ConversationType conversationType, String targetId, RongIMClient.ResultCallback<Boolean> callback)
Deletes all messages in a specific conversation.
Note: Chatrooms are not supported!
Parameters
conversation Type
The type of conversation. Chatrooms are not supported. Refer to Conversation.ConversationType.
target Id
The ID of the conversation. Depending on the conversationType, this could be a user ID, discussion group ID, or group ID.
callback
Callback indicating whether the operation was successful.