saveTextMessageDraft

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

Saves the draft information of a conversation.

Parameters

conversationType

The type of the 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.

content

The text content of the draft.

callback

Callback indicating whether the save operation was successful.