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

x/grammy/mod.ts>InlineKeyboard.game

The Telegram Bot Framework.
Very Popular
Latest
method InlineKeyboard.game
import { InlineKeyboard } from "https://deno.land/x/grammy@v1.30.1/mod.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