Class InlineKeyboardMarkup
java.lang.Object
io.github.natanimn.telebof.types.keyboard.InlineKeyboardMarkup
- All Implemented Interfaces:
Markup,Serializable
This object represents an inline keyboard that appears right next to the message it belongs to.
- Since:
- 3 March 2025
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInlineKeyboardMarkup(int rowWidth) InlineKeyboardMarkup(InlineKeyboardButton[] buttons) InlineKeyboardMarkup(InlineKeyboardButton[][] keyboard) InlineKeyboardMarkup(InlineKeyboardButton[] buttons, int rowWidth) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddKeyboard(InlineKeyboardButton... buttons) voidsetRowWidth(int rowWidth)
-
Constructor Details
-
InlineKeyboardMarkup
public InlineKeyboardMarkup() -
InlineKeyboardMarkup
public InlineKeyboardMarkup(int rowWidth) -
InlineKeyboardMarkup
-
InlineKeyboardMarkup
-
InlineKeyboardMarkup
-
-
Method Details
-
addKeyboard
-
getInlineKeyboard
-
setRowWidth
public void setRowWidth(int rowWidth)
-