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

x/grammy_types/mod.ts>InlineQueryResultGame

Types for the Telegram Bot API
Go to Latest
interface InlineQueryResultGame
import { type InlineQueryResultGame } from "https://deno.land/x/grammy_types@v3.1.1/mod.ts";

Represents a Game.

Note: This will only work in Telegram versions released after October 1, 2016. Older clients will not display any inline results if a game result is among them.

Properties

type: "game"

Type of the result, must be game

id: string

Unique identifier for this result, 1-64 bytes

game_short_name: string

Short name of the game

optional
reply_markup: InlineKeyboardMarkup

Inline keyboard attached to the message