telegramsjs
    Preparing search index...

    Interface SwitchInlineChosenChatButton

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

    Hierarchy (View Summary)

    Index

    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 in channel direct messages chats and on behalf of a Telegram Business account.

    text: string

    Label text on the button