Skip to main content
Deno 2 is finally here 🎉️
Learn more
Very Popular
Latest
method InlineKeyboard.game
import { InlineKeyboard } from "https://deno.land/x/grammy@v1.31.0/convenience/keyboard.ts";

Creates a new game query button, confer https://core.telegram.org/bots/api#games

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

Parameters

text: string

The text to display

Returns

InlineKeyboardButton.GameButton