Link Search Menu Expand Document

Constructor: keyboardButton

Back to constructors index

Bot keyboard button

Attributes:

NameTypeRequiredDescription
textstringYesButton text

Type: KeyboardButton

Example:

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