Interface ToggleBusinessConnectedBotChatIsPaused

Pauses or resumes the connected business bot in a specific chat. Request type for Tdjson#toggleBusinessConnectedBotChatIsPaused.

interface ToggleBusinessConnectedBotChatIsPaused {
    @type: "toggleBusinessConnectedBotChatIsPaused";
    chat_id: number;
    is_paused?: boolean;
}

Properties

@type: "toggleBusinessConnectedBotChatIsPaused"
chat_id: number

Chat identifier.

is_paused?: boolean

Pass true to pause the connected bot in the chat; pass false to resume the bot.