Interface SetBotSettings

Changes settings of a bot. Can be called only if userTypeBot.can_be_edited == true. Request type for Tdjson#setBotSettings.

interface SetBotSettings {
    @type: "setBotSettings";
    bot_user_id: number;
    settings: BotSetting[];
}

Properties

@type: "setBotSettings"
bot_user_id: number

Identifier of the target bot.

settings: BotSetting[]

The new settings of the bot; settings that aren't specified remain unchanged.