1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-13 15:07:22 +01:00
MadelineProto/docs/TD_docs/constructors/inputMessageGame.md

871 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, ];

Or, if you're into Lua:

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