Raw.channels.ToggleSlowMode
Toggle supergroup slow mode: if enabled, users will only be able to send one message every seconds seconds
channels.toggleSlowMode#edd49ef0 channel:InputChannel seconds:int = Updates;
export namespace Raw {
export namespace channels {
export class ToggleSlowMode {
constructor(params: { channel: Raw.TypeInputChannel; seconds: number }) {}
}
}
}
This is a function constructor, you can use it as method when call invoke
Layer: 185
Constructor ID: 0xedd49ef0
Property
channel
: Raw.TypeInputChannelThe supergroup
seconds
: numberUsers will only be able to send one message every seconds seconds, 0 to disable the limitation