Constructor: keyboardButton

Back to constructors index

Keyboard button

Attributes:

Name Type Required Description
text string Yes Text

Type: KeyboardButton

Example:

$keyboardButton = ['_' => 'keyboardButton', 'text' => 'string'];

Or, if you’re into Lua:

keyboardButton={_='keyboardButton', text='string'}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.