clearTextMessageDraft

public abstract void clearTextMessageDraft(ConversationType conversationType, String targetId, IRongCoreCallback.ResultCallback<Boolean> callback)

Deletes the draft information in the specified conversation.

Since

5.0.0

Parameters

conversationType

The type of the conversation.

targetId

The ID of the conversation. Depending on the conversationType, it could be a user ID, discussion group ID, group ID, or chatroom ID.

callback

The callback indicating whether the deletion was successful.