MadelineProto/docs/TD_docs/constructors/callbackQueryGame.md
2017-07-23 16:33:46 +02:00

855 B

title description
callbackQueryGame Payload from a game callback button

Constructor: callbackQueryGame

Back to constructors index

Payload from a game callback button

Attributes:

Name Type Required Description
game_short_name string Yes Short name of the game that was attached to the callback button

Type: CallbackQueryPayload

Example:

$callbackQueryGame = ['_' => 'callbackQueryGame', 'game_short_name' => 'string'];

PWRTelegram json-encoded version:

{"_": "callbackQueryGame", "game_short_name": "string"}

Or, if you're into Lua:

callbackQueryGame={_='callbackQueryGame', game_short_name='string'}