1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 03:36:55 +01:00
MadelineProto/docs/TD_docs/constructors/inlineQueryResultGame.md
2017-07-23 16:33:46 +02:00

882 B

title description
inlineQueryResultGame Represents information about a game

Constructor: inlineQueryResultGame

Back to constructors index

Represents information about a game

Attributes:

Name Type Required Description
id string Yes Unique identifier of this result
game game Yes The result

Type: InlineQueryResult

Example:

$inlineQueryResultGame = ['_' => 'inlineQueryResultGame', 'id' => 'string', 'game' => game];

PWRTelegram json-encoded version:

{"_": "inlineQueryResultGame", "id": "string", "game": game}

Or, if you're into Lua:

inlineQueryResultGame={_='inlineQueryResultGame', id='string', game=game}