mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 01:46:55 +01:00
1018 B
1018 B
title | description |
---|---|
inputMessageGame | Message with a game, can't be used in broadcast channels and secret chats |
Constructor: inputMessageGame
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'}