account.ContentSettings
- class pyrogram.raw.types.account.ContentSettings
Sensitive content settings
Constructor of
ContentSettings.- Details:
Layer:
223ID:
57E28221
- Parameters:
sensitive_enabled (
bool, optional) – Whether viewing of sensitive (NSFW) content is enabledsensitive_can_change (
bool, optional) – Whether the current client can change the sensitive content settings to view NSFW content
- Functions:
This object can be returned by 1 function.
Get sensitive content settings
TL Schema
account.contentSettings#57e28221
flags:#
sensitive_enabled:flags.0?true
sensitive_can_change:flags.1?true
= account.ContentSettings
Parameter Tree
ContentSettings
├── sensitive_enabled →
true (optional)└── sensitive_can_change →
true (optional)Example
ContentSettings(
)