Skip to main content
Module

x/grammy_menu/mod.ts>MenuRange#game

Easily create interactive menus with grammY.
Go to Latest
method MenuRange.prototype.game
import { MenuRange } from "https://deno.land/x/grammy_menu@v1.1.2/mod.ts";

Adds 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: MaybeDynamicString<C>

The text to display