clearTextMessageDraft

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

Deletes draft information in the specified conversation.

Since

5.1.1

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.

channelId

The business identifier of the conversation to which the message belongs.

callback

Callback indicating whether the deletion was successful.