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.