ContentSettings

class pyrogram.raw.types.account.ContentSettings

Sensitive content settings.

Constructor type of ContentSettings.

Details
  • Layer: 126

  • ID: 0x57e28221

Parameters
  • 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.

Methods

This object can be returned by 1 method:

account.GetContentSettings

Get sensitive content settings.