mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
1019 B
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
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];