account.setContentSettings

Set sensitive content settings (for viewing or hiding NSFW content)

 Method schema is available as of layer 107. Switch ยป

Parameters

Name Type Description
flags # Flags, see TL conditional fields
sensitive_enabled flags.0?true Enable NSFW content

Result

Bool

Possible errors

Code Type Description
403 SENSITIVE_CHANGE_FORBIDDEN You can't change your sensitive content settings.