Interface ToggleChatHasProtectedContent

Changes the ability of users to save, forward, or copy chat content. Supported only for basic groups, supergroups and channels. Requires owner privileges. Request type for Tdjson#toggleChatHasProtectedContent.

interface ToggleChatHasProtectedContent {
    @type: "toggleChatHasProtectedContent";
    chat_id: number;
    has_protected_content?: boolean;
}

Properties

@type: "toggleChatHasProtectedContent"
chat_id: number

Chat identifier.

has_protected_content?: boolean

New value of has_protected_content.