Layer 227
MessageActionNoForwardsRequest
Emitted only in private chats if the other side requested to disable content protection.
constructor
messageActionNoForwardsRequest#3e2793ba flags:# expired:flags.0?true prev_value:Bool new_value:Bool = MessageAction;
Parameters
| Name | Type | Description |
|---|---|---|
| Expired | flags .0? true | If set, this request was accepted or rejected by the other user and thus cannot be used anymore. |
| PrevValue | Bool | Previous protection status. |
| NewValue | Bool | New requested protection status. |
Returns
MessageActionGogram Example
// Creating MessageActionNoForwardsRequest constructor obj := &tg.MessageActionNoForwardsRequest{ Expired: nil, PrevValue: true, NewValue: true, }