Button to start a game
Available only in inline keyboards.
When pressed, clients must open the game from the attached messageMediaGame constructor by invoking messages.getBotCallbackAnswer with the game flag set, as described in Starting a game.
생성자 스키마는 레이어 222부터 사용할 수 있습니다. 전환 »
| Name | Type | Description |
|---|---|---|
| flags | # | Flags, see TL conditional fields |
| style | flags.10?KeyboardButtonStyle | Button style, see here » for more info on button styles. |
| text | string | Button text |
Users can interact with your bot via buttons or even inline buttons, straight from inline messages in any chat.
Represents an inline keyboard
Indicates an already sent game
Telegram game
Press an inline callback button and get a callback answer from the bot
Bots can offer users HTML5 games to play solo or to compete against each other in groups and one-on-one chats.