View Source ExTDLib.Method.ToggleChatHasProtectedContent (ExTDLib v0.0.4)

Changes the ability of users to save, forward, or copy chat content. Supported only for basic groups, supergroups and channels. Requires owner privileges. Returns object_ptr<Ok>.

NameTypeDescription
chat_idstringChat identifier.
has_protected_contentboolNew value of has_protected_content.

More details on telegram's documentation.