saveTextMessageDraft

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

Save the draft information of a conversation.

Since

5.1.1

Parameters

conversationType

The type of conversation. Refer to .

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.

content

The text content of the draft.

callback

Callback indicating whether the save operation was successful.