/** Describes the type of an inline keyboard button */ export declare type InlineKeyboardButtonTypeUnion = InlineKeyboardButtonTypeUrl | InlineKeyboardButtonTypeCallback | InlineKeyboardButtonTypeCallbackGame | InlineKeyboardButtonTypeSwitchInline | InlineKeyboardButtonTypeBuy; /** A button that opens a specified URL */ export interface InlineKeyboardButtonTypeUrl { _: 'inlineKeyboardButtonTypeUrl'; /** HTTP or tg:// URL to open */ url: string; } /** A button that sends a special callback query to a bot */ export interface InlineKeyboardButtonTypeCallback { _: 'inlineKeyboardButtonTypeCallback'; /** Data to be sent to the bot via a callback query */ data: string; } /** * A button with a game that sends a special callback query to a bot. This button must * be in the first column and row of the keyboard and can be attached only to a message * with content of the type messageGame */ export interface InlineKeyboardButtonTypeCallbackGame { _: 'inlineKeyboardButtonTypeCallbackGame'; } /** A button that forces an inline query to the bot to be inserted in the input field */ export interface InlineKeyboardButtonTypeSwitchInline { _: 'inlineKeyboardButtonTypeSwitchInline'; /** Inline query to be sent to the bot */ query: string; /** True, if the inline query should be sent from the current chat */ inCurrentChat: boolean; } /** * A button to buy something. This button must be in the first column and row of the * keyboard and can be attached only to a message with content of the type messageInvoice */ export interface InlineKeyboardButtonTypeBuy { _: 'inlineKeyboardButtonTypeBuy'; }