1
0
mirror of https://github.com/danog/MadelineProto.git synced 2025-01-05 23:58:17 +01:00
MadelineProto/docs/TD_docs/constructors/messageGame.md
2017-07-23 16:11:02 +02:00

655 B

title description
messageGame Message with a game

Constructor: messageGame

Back to constructors index

Message with a game

Attributes:

Name Type Required Description
game game Yes The game

Type: MessageContent

Example:

$messageGame = ['_' => 'messageGame', 'game' => game, ];

PWRTelegram json-encoded version:

{"_":"messageGame","game":"game"}

Or, if you're into Lua:

messageGame={_='messageGame', game=game, }