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