Interface InlineKeyboardButtonTypeSwitchInline

A button that forces an inline query to the bot to be inserted in the input field. Subtype of InlineKeyboardButtonType.

interface InlineKeyboardButtonTypeSwitchInline {
    @type: "inlineKeyboardButtonTypeSwitchInline";
    query: string;
    target_chat: TargetChat;
}

Properties

@type: "inlineKeyboardButtonTypeSwitchInline"
query: string

Inline query to be sent to the bot.

target_chat: TargetChat

Target chat from which to send the inline query.