이 페이지는 현재 영어로만 제공되며 한국어 버전은 곧 제공될 예정입니다. 기다려 주셔서 감사드립니다.

대화 초안

Feature Description

When sending a message, the user may want to switch to another chat window before finishing the message. The unfinished message can be saved through the setConversationDraft API, so that the user can get back to it through the draftText field of the V2TIMConversation object and finish it.
Caution:
1. A draft can contain only text.
2. A draft will be stored only in the local database and not on the server. Therefore, it cannot be synced across devices and will not be available after the application is uninstalled and reinstalled.

Setting a Conversation Draft

Call the setConversationDraft API (Details) to set a conversation draft. If the draftText parameter of this API is empty, the draft is canceled.
Sample code:
conversationManager.setConversationDraft(conversationID: "conversationID",draftText: "Draft");