Documentation - v0.32.0
    Preparing search index...
    • Button to force a user to switch to inline mode.

      Pressing the button will prompt the user to select one of their chats, open that chat and insert the bot‘s username and the specified inline query (if any) in the input field.

      Used for inline keyboards, not reply!

      Parameters

      • text: string

        Button text

      • Optionaloptions: ButtonOptions & Omit<SwitchInlineButton, "type" | "text" | "style">

      Returns SwitchInlineButton