MadelineProtoDocs/old_docs/API_docs_v4/constructors/keyboardButtonRow.md
2020-06-16 17:50:25 +02:00

764 B

title description image
keyboardButtonRow Inline keyboard row https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: keyboardButtonRow

Back to constructors index

Inline keyboard row

Attributes:

Name Type Required Description
buttons Array of KeyboardButton Yes Bot or inline keyboard buttons

Type: KeyboardButtonRow

Example:

$keyboardButtonRow = ['_' => 'keyboardButtonRow', 'buttons' => [KeyboardButton, KeyboardButton]];

Or, if you're into Lua:

keyboardButtonRow={_='keyboardButtonRow', buttons={KeyboardButton}}