Raw.messages.ToggleNoForwards
Enable or disable content protection on a channel or chat
messages.toggleNoForwards#b11eafa2 peer:InputPeer enabled:Bool = Updates;
export namespace Raw {
export namespace messages {
export class ToggleNoForwards {
constructor(params: { peer: Raw.TypeInputPeer; enabled: boolean }) {}
}
}
}
This is a function constructor, you can use it as method when call invoke
Layer: 185
Constructor ID: 0xb11eafa2
Property
peer
: Raw.TypeInputPeerThe chat or channel
enabled
: booleanEnable or disable content protection