Chat.set_protected_content()¶
- Chat.set_protected_content()¶
 Bound method set_protected_content of
Chat.Use as a shortcut for:
await client.set_chat_protected_content(chat_id, enabled)- Parameters:¶
 enabled (
bool) – Pass True to enable the protected content setting, False to disable.
Example
await chat.set_protected_content(enabled)- Returns:¶
 bool– On success, True is returned.