Interface InlineQueryResultGame

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.

interface InlineQueryResultGame {
    gameShortName: string;
    id: string;
    replyMarkup?: InlineKeyboardMarkup;
    type: "game";
}

Properties

gameShortName: string

Short name of the game

id: string

Unique identifier for this result, 1-64 bytes

replyMarkup?: InlineKeyboardMarkup

Inline keyboard attached to the message

type: "game"

Type of the result, must be game