Constructor: messageMediaGame

Back to constructors index

Message media game

Attributes:

Name Type Required Description
game Game Yes Game

Type: MessageMedia

Example:

$messageMediaGame = ['_' => 'messageMediaGame', 'game' => Game];

PWRTelegram json-encoded version:

{"_": "messageMediaGame", "game": Game}

Or, if you’re into Lua:

messageMediaGame={_='messageMediaGame', game=Game}