[**RongIMLib**](../README.md) *** [RongIMLib](../globals.md) / clearTextMessageDraft # Function: clearTextMessageDraft() > **clearTextMessageDraft**(`options`): `Promise`\<[`RCResult`](../interfaces/RCResult.md)\<`void`\>\> 删除会话文本草稿 ## Parameters ### options [`IConversationIdentifier`](../interfaces/IConversationIdentifier.md) 会话信息 ## Returns `Promise`\<[`RCResult`](../interfaces/RCResult.md)\<`void`\>\> ## Example 删除会话文本草稿示例: ```ts const options = { conversationType: RongIMLib.ConversationType.PRIVATE, targetId: 'targetId', } const conversation = await RongIMLib.clearTextMessageDraft(options); console.info('删除会话文本草稿结果:', conversation); ```