Skip to main content
Deno 2 is finally here 🎉️
Learn more
Very Popular
Go to Latest
method InlineKeyboard.game
import { InlineKeyboard } from "https://deno.land/x/grammy@v1.17.1/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