ChatHasProtectedContentDisableRequested#

class pyrogram.types.ChatHasProtectedContentDisableRequested#

Describes a service message about a chat has_protected_content setting was requested to be disabled.

Parameters:
  • is_expired (bool) – True, if the request has expired.

  • old_has_protected_content (bool) – Previous value of the setting.

  • new_has_protected_content (bool) – New value of the setting.