Skip to content

setChatSlowModeDelay

Function · TDLib 1.8.67 · d1085f9c

Changes the slow mode delay of a chat. Available only for supergroups; requires can_restrict_members administrator right

setChatSlowModeDelay(
  chat_id: int53,
  slow_mode_delay: int32
) → Ok

chat_id

int53

Chat identifier

slow_mode_delay

int32

New slow mode delay for the chat, in seconds; must be one of 0, 5, 10, 30, 60, 300, 900, 3600