Layer 227
MessageActionNoForwardsToggle
Emitted only in private chats when enabling or disabling content protection.
constructor
messageActionNoForwardsToggle#bf7d6572 prev_value:Bool new_value:Bool = MessageAction;
Parameters
| Name | Type | Description |
|---|---|---|
| PrevValue | 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. |
| NewValue | Bool | New protection status. |
Returns
MessageActionGogram Example
// Creating MessageActionNoForwardsToggle constructor obj := &tg.MessageActionNoForwardsToggle{ PrevValue: true, NewValue: true, }