ToggleSlowMode

class pyrogram.raw.functions.channels.ToggleSlowMode

Toggle supergroup slow mode: if enabled, users will only be able to send one message every seconds seconds.

Details
  • Layer: 126

  • ID: 0xedd49ef0

Parameters
  • channel (InputChannel) – The supergroup.

  • seconds (int 32-bit) – Users will only be able to send one message every seconds seconds, 0 to disable the limitation.

Returns

Updates – Object which is perceived by the client without a call on its part when an event occurs.