Interface SetChatSlowModeDelay

Changes the slow mode delay of a chat. Available only for supergroups; requires can_restrict_members right. Request type for Tdjson#setChatSlowModeDelay.

interface SetChatSlowModeDelay {
    @type: "setChatSlowModeDelay";
    chat_id: number;
    slow_mode_delay: number;
}

Properties

@type: "setChatSlowModeDelay"
chat_id: number

Chat identifier.

slow_mode_delay: number

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