MadelineProtoDocs/old_docs/API_docs_v102/constructors/keyboardButtonGame.md
2019-12-27 17:48:04 +01:00

685 B

title description image
keyboardButtonGame Button to start a game https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

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'}