MadelineProtoDocs/docs/API_docs/constructors/account.contentSettings.md

32 lines
1019 B
Markdown
Raw Normal View History

2024-05-01 14:53:46 +02:00
---
title: "account.contentSettings"
description: "Sensitive content settings"
nav_exclude: true
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
redirect_from: /API_docs/constructors/account_contentSettings.html
---
# Constructor: account.contentSettings
[Back to constructors index](/API_docs/constructors/index.html)
Sensitive content settings
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|sensitive\_enabled|[Bool](/API_docs/types/Bool.html) | Optional|Whether viewing of sensitive (NSFW) content is enabled|
|sensitive\_can\_change|[Bool](/API_docs/types/Bool.html) | Optional|Whether the current client can change the sensitive content settings to view NSFW content|
### Type: [account.ContentSettings](/API_docs/types/account.ContentSettings.html)
### Example:
```
$account_contentSettings = ['_' => 'account.contentSettings', 'sensitive_enabled' => Bool, 'sensitive_can_change' => Bool];
```