Module

x/grammy/mod.ts>InlineKeyboard.game

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