1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 02:56:57 +01:00
MadelineProto/docs/TD_docs/constructors/inputMessageGame.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00: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'}