SDKsFlutterEnterprise
Enable or disable burn after reading
Configure burn-after-reading mode for a conversation with the OpenIM Flutter SDK.
await OpenIM.iMManager.conversationManager.setConversation(
conversationID,
ConversationReq(isPrivateChat: true),
);Pass false to disable burn after reading. Configure the duration separately through burnDuration; see Set the burn-after-reading duration. This capability is different from periodic server-side message deletion.
A successful Future means only that the settings request completed. Merge the latest state through onConversationChanged; see Retrieve the conversation list for the complete listener.
Was this page helpful?