MadelineProtoDocs/old_docs/API_docs_v21/constructors/keyboardButtonGame.md
2020-06-16 17:50:25 +02: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'}