Constructor: keyboardButtonGame

Back to constructors index

Button to start a game

Attributes:

Name Type Required Description
text string Yes Button text

Type: KeyboardButton

Example:

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

Or, if you’re into Lua:

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

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