Skip to content

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 )
ParameterTypeDescription
...inline_buttonsInlineKeyboardButton[][]An array of arrays containing of buttons.

Methods ​

addrow( ...inline_buttons ) ​

Adds a new row to the current markup.

ParameterTypeDescription
...inline_buttonsInlineKeyboardButton[]The keyboard buttons to display in this row.

Returns: InlineKeyboardMarkup