MessageActionNoForwardsRequest#

class pyrogram.raw.types.MessageActionNoForwardsRequest#

Emitted only in private chats if the other side requested to disable content protection.

Constructor of MessageAction.

Details:
  • Layer: 225

  • ID: 3E2793BA

Parameters:
  • prev_value (bool) – Previous protection status.

  • new_value (bool) – New requested protection status.

  • expired (bool, optional) – If set, this request was accepted or rejected by the other user and thus cannot be used anymore.