1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-12 14:07:22 +01:00
MadelineProto/old_docs/API_docs_v70/constructors/inputMediaGame.md

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}