getTextMessageDraft

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

Retrieves draft information from the conversation.

Parameters

conversationType

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

Callback to retrieve the draft text content.