/** Describes the type of an inline keyboard button */ export declare type InlineKeyboardButtonTypeInputUnion = InlineKeyboardButtonTypeUrlInput | InlineKeyboardButtonTypeCallbackInput | InlineKeyboardButtonTypeCallbackGameInput | InlineKeyboardButtonTypeSwitchInlineInput | InlineKeyboardButtonTypeBuyInput; /** A button that opens a specified URL */ export interface InlineKeyboardButtonTypeUrlInput { _: 'inlineKeyboardButtonTypeUrl'; /** HTTP or tg:// URL to open */ url?: string; } /** A button that sends a special callback query to a bot */ export interface InlineKeyboardButtonTypeCallbackInput { _: '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 InlineKeyboardButtonTypeCallbackGameInput { _: 'inlineKeyboardButtonTypeCallbackGame'; } /** A button that forces an inline query to the bot to be inserted in the input field */ export interface InlineKeyboardButtonTypeSwitchInlineInput { _: '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 InlineKeyboardButtonTypeBuyInput { _: 'inlineKeyboardButtonTypeBuy'; }