1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 01:46:55 +01:00
MadelineProto/docs/TD_docs/constructors/inputMessageGame.md
2017-07-23 16:33:46 +02:00

1018 B

title description
inputMessageGame Message with a game, can't be used in broadcast channels and secret chats

Constructor: inputMessageGame

Back to constructors index

Message with a game, can't be used in broadcast channels and secret chats

Attributes:

Name Type Required Description
bot_user_id int Yes User identifier of a bot owned the game
game_short_name string Yes Game short name

Type: InputMessageContent

Example:

$inputMessageGame = ['_' => 'inputMessageGame', 'bot_user_id' => int, 'game_short_name' => 'string'];

PWRTelegram json-encoded version:

{"_": "inputMessageGame", "bot_user_id": int, "game_short_name": "string"}

Or, if you're into Lua:

inputMessageGame={_='inputMessageGame', bot_user_id=int, game_short_name='string'}