Raw.channels.RestrictSponsoredMessages
Disable ads on the specified channel, for all users.
channels.restrictSponsoredMessages#9ae91519 channel:InputChannel restricted:Bool = Updates;
export namespace Raw {
export namespace channels {
export class RestrictSponsoredMessages {
constructor(params: { channel: Raw.TypeInputChannel; restricted: boolean }) {}
}
}
}
This is a function constructor, you can use it as method when call invoke
Layer: 185
Constructor ID: 0x9ae91519
Property
channel
: Raw.TypeInputChannelThe channel.
restricted
: booleanWhether to disable or re-enable ads.