Skip to main content

设置会话草稿,存储在本地,不会同步至云端。

参数说明

名称类型描述版本
conversationConversation会话标识1.0.0
draftString草稿内容1.0.0

示例代码

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