Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/grammy_types/markup.ts>InlineKeyboardButton.GameButton

Type declarations of the Telegram Bot API.
Latest
interface InlineKeyboardButton.GameButton
implements AbstractInlineKeyboardButton
import { type InlineKeyboardButton } from "https://deno.land/x/grammy_types@v3.16.0/markup.ts";
const { GameButton } = InlineKeyboardButton;

Properties

callback_game: CallbackGame

Description of the game that will be launched when the user presses the button.

NOTE: This type of button must always be the first button in the first row.