1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-12 15:07:21 +01:00
MadelineProto/old_docs/API_docs_v57/constructors/inputMediaGame.md
2017-07-23 16:33:46 +02:00

648 B

title description
inputMediaGame inputMediaGame attributes, type and example

Constructor: inputMediaGame

Back to constructors index

Attributes:

Name Type Required
id InputGame Yes

Type: InputMedia

Example:

$inputMediaGame = ['_' => 'inputMediaGame', 'id' => InputGame];

PWRTelegram json-encoded version:

{"_": "inputMediaGame", "id": InputGame}

Or, if you're into Lua:

inputMediaGame={_='inputMediaGame', id=InputGame}