MessageActionNoForwardsToggle#
- class pyrogram.raw.types.MessageActionNoForwardsToggle#
Emitted only in private chats when enabling or disabling content protection.
Constructor of
MessageAction.- Details:
Layer:
225ID:
BF7D6572
- Parameters:
prev_value (
bool) – Previous protection status (if true, the chat was protected). May be equal to new_value when replying to requests, see here » for more info on the full flow.new_value (
bool) – New protection status.