export Class
InlineKeyboardMarkup ​
extends ​
Builder
This object represents an inline keyboard that appears right next to the message it belongs to.
Constructor ​
ts
new InlineKeyboardMarkup( ...inline_buttons )
Parameter | Type | Description |
---|---|---|
...inline_buttons | InlineKeyboardButton[][] | An array of arrays containing of buttons. |
Methods ​
addrow( ...inline_buttons ) ​
Parameter | Type | Description |
---|---|---|
...inline_buttons | InlineKeyboardButton[] | The keyboard buttons to display in this row. |
Adds a new row to the current markup.
Returns:
InlineKeyboardMarkup