ChatHasProtectedContentToggled#

class pyrogram.types.ChatHasProtectedContentToggled#

Describes a service message about a chat has_protected_content setting was changed or request to change it was rejected.

Parameters:
  • request_message_id (int) – Identifier of the message with the request to change the setting; can be an identifier of a deleted message or 0.

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

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