keyboardButtonGame #

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.

Layer 223

keyboardButtonGame#89c590f9 flags:# style:flags.10?KeyboardButtonStyle text:string = KeyboardButton;

Parameters #

NameTypeDescription
flags#Flags, see TL conditional fields
styleflags.10?KeyboardButtonStyleButton style, see here » for more info on button styles.
textstringButton text

Type #

KeyboardButton

Bot buttons #

Users can interact with your bot via buttons or even inline buttons, straight from inline messages in any chat.

replyInlineMarkup #

Represents an inline keyboard

game #

Indicates an already sent game

messageMediaGame #

Telegram game

messages.getBotCallbackAnswer #

Press an inline callback button and get a callback answer from the bot

HTML5 games #

Bots can offer users HTML5 games to play solo or to compete against each other in groups and one-on-one chats.