1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 13:06:55 +01:00
MadelineProto/docs/TD_docs/constructors/inlineQueryResultGame.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00: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}