SDKsuni-appEnterprise
Enable or disable burn after reading
OpenIM uni-app / uni-app x SDK guide for Enable or disable burn after reading.
isPrivateChat is a Commercial field written through the public setConversation() operation.
import { setConversation } from '@/uni_modules/unix-openim-sdk'
await setConversation({ conversationID, isPrivateChat: true })Pass only the field being changed. Private-chat message presentation, screenshot behavior, and destruction policy are jointly defined by the commercial server and client product. Setting one boolean does not implement every UI security rule automatically.
Promise success means that the request completed. Use isPrivateChat from the final onConversationChanged snapshot or a new query as the authoritative conversation state.
Was this page helpful?