Skip to main content

Set a conversation draft. It is stored locally and is not synchronized to the cloud.

Parameters

NameTypeDescriptionVersion
conversationConversationConversation identifier1.0.0
draftStringDraft content1.0.0

Code Example

Conversation conversation = new Conversation(Conversation.ConversationType.GROUP, "groupid1");
JIM.getInstance().getConversationManager().setDraft(conversation, "draft");