Link Search Menu Expand Document

Constructor: keyboardButtonGame

Back to constructors index

Button to start a game

Attributes:

NameTypeRequiredDescription
textstringYesButton text

Type: KeyboardButton

Example:

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