interface SwitchInlineChosenChatButton {
    switch_inline_query_chosen_chat: SwitchInlineQueryChosenChat;
    text: string;
}

Hierarchy (view full)

Properties

switch_inline_query_chosen_chat: SwitchInlineQueryChosenChat

If set, pressing the button will prompt the user to select one of their chats of the specified type, open that chat and insert the bot's username and the specified inline query in the input field. Not supported for messages sent on behalf of a Telegram Business account.

text: string

Label text on the button