MadelineProtoDocs/docs/API_docs/constructors/account.contentSettings.md
2024-05-01 14:53:46 +02:00

1019 B

title description nav_exclude image redirect_from
account.contentSettings Sensitive content settings true https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png /API_docs/constructors/account_contentSettings.html

Constructor: account.contentSettings

Back to constructors index

Sensitive content settings

Attributes:

Name Type Required Description
sensitive_enabled Bool Optional Whether viewing of sensitive (NSFW) content is enabled
sensitive_can_change Bool Optional Whether the current client can change the sensitive content settings to view NSFW content

Type: account.ContentSettings

Example:

$account_contentSettings = ['_' => 'account.contentSettings', 'sensitive_enabled' => Bool, 'sensitive_can_change' => Bool];