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>.
| Name | Type | Description |
|---|---|---|
| chat_id | string | Chat identifier. |
| has_protected_content | bool | New value of has_protected_content. |
More details on telegram's documentation.