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 {
    game_short_name: string;
    id: string;
    reply_markup?: InlineKeyboardMarkup;
    type: "game";
}

Properties

game_short_name: string

Short name of the game

id: string

Unique identifier for this result, 1-64 bytes

reply_markup?: InlineKeyboardMarkup

Inline keyboard attached to the message

type: "game"

Type of the result, must be game