ChatHasProtectedContentToggled

class pyrogram.types.ChatHasProtectedContentToggled

Chat has_protected_content setting was changed or request to change it was rejected.

Parameters:
  • request_message_id (int) – 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.