SDKsWASMEnterprise
Enable or disable burn after reading
Enable or disable burn-after-reading mode for a conversation.
isPrivateChat enables or disables burn-after-reading mode. It is separate from scheduled server-message deletion.
await openimsdk.setConversation({
conversationID,
isPrivateChat: true,
});Pass false to disable the mode. Configure its duration separately through burnDuration; see Set the burn duration.
A successful Promise means only that the setting request has completed. Merge the latest state from OnConversationChanged by conversationID; see Get the conversation list for the complete listener.
Was this page helpful?