account.ContentSettings

class pyrogram.raw.types.account.ContentSettings

Sensitive content settings

Constructor of ContentSettings.

Details:
  • Layer: 187

  • ID: 57E28221

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

Functions:

This object can be returned by 1 function.

account.GetContentSettings

Get sensitive content settings