InlineKeyboardButton

One button of an inline keyboard

Members

Variables

callback_data
string callback_data;

Data to be sent in a callback query to the bot when button is pressed

callback_game
CallbackGame callback_game;

Description of the game that will be launched when the user presses the button

pay
bool pay;

true to send a pay button

switch_inline_query
string switch_inline_query;

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 in the input field

switch_inline_query_current_chat
string switch_inline_query_current_chat;

Pressing the button will insert the bot‘s username and the specified inline query in the current chat's input field

text
string text;

Label text on the button

url
string url;

HTTP or tg:// url to be opened when button is pressed

See Also

Meta