RichTextButtonSwitchInline

An inline keyboard button that, when pressed, switches to inline mode in a chat chosen by the user.

Properties

style?: "danger" | "success" | "primary" | "link"

The style of the button.

type: "switchInlineQuery"
inlineQuery: string

The query to type into the user’s message box once switched to inline.