MadelineProtoDocs/old_docs/API_docs_v65/constructors/inputMediaGame.md
2018-04-01 13:24: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}