Builds and returns the final InlineKeyboardMarkup structure.
The constructed InlineKeyboardMarkup.
Appends a copy text button to the current row.
Label text on the button.
Text to be copied to the clipboard.
This InlineKeyboard instance for chaining.
Advances the builder to start a new keyboard row.
This InlineKeyboard instance for chaining.
Appends an inline query button to the current row.
Label text on the button.
Inline query string inserted in the chat input field.
This InlineKeyboard instance for chaining.
Appends an inline query button for the current chat to the current row.
Label text on the button.
Inline query string inserted in the current chat.
This InlineKeyboard instance for chaining.
Appends a callback button to the current row.
Label text on the button.
Data to be sent in a callback query to the bot when pressed.
This InlineKeyboard instance for chaining.
Appends an HTTP URL button to the current row.
Label text on the button.
HTTP or tg:// URL to be opened when the button is pressed.
This InlineKeyboard instance for chaining.
Appends a Web App button to the current row.
Label text on the button.
HTTPS URL of a Web App to be opened.
This InlineKeyboard instance for chaining.
Fluent builder for creating InlineKeyboardMarkup objects.
Example