Link Search Menu Expand Document

Constructor: account.contentSettings

Back to constructors index

Sensitive content settings

Attributes:

NameTypeRequiredDescription
sensitive_enabledBoolOptionalWhether viewing of sensitive (NSFW) content is enabled
sensitive_can_changeBoolOptionalWhether 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];