Layer 227
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

MessageAction

Gogram Example

// Creating MessageActionNoForwardsToggle constructor
obj := &tg.MessageActionNoForwardsToggle{
    PrevValue: true,
    NewValue: true,
}