getTextMessageDraft

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

Retrieves the draft information from a 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 to retrieve the draft text content.