Layer 227
AccountContentSettingsObj
Sensitive content settings
constructor
account.contentSettings#57e28221 flags:# sensitive_enabled:flags.0?true sensitive_can_change:flags.1?true = account.ContentSettings;
Parameters
| Name | Type | Description |
|---|---|---|
| SensitiveEnabled | flags .0? true | Whether viewing of sensitive (NSFW) content is enabled |
| SensitiveCanChange | flags .1? true | Whether the current client can change the sensitive content settings to view NSFW content |
Returns
account.ContentSettingsGogram Example
// Creating AccountContentSettingsObj constructor obj := &tg.AccountContentSettingsObj{ SensitiveEnabled: nil, SensitiveCanChange: nil, }