MadelineProtoDocs/old_docs/API_docs_v82/constructors/inputMediaGame.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

734 B

title description image
inputMediaGame Media game https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: inputMediaGame

Back to constructors index

Media game

Attributes:

Name Type Required Description
id InputGame Yes ID

Type: InputMedia

Example:

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

PWRTelegram json-encoded version:

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

Or, if you're into Lua:

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