InlineQueryResultGame#

class aiogram.types.inline_query_result_game.InlineQueryResultGame(*, type: ~typing.Literal[<InlineQueryResultType.GAME: 'game'>] = InlineQueryResultType.GAME, id: str, game_short_name: str, reply_markup: ~aiogram.types.inline_keyboard_markup.InlineKeyboardMarkup | None = None, **extra_data: ~typing.Any)[source]#

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.

Source: https://core.telegram.org/bots/api#inlinequeryresultgame

type: Literal[InlineQueryResultType.GAME]#

Type of the result, must be game

id: str#

Unique identifier for this result, 1-64 bytes

game_short_name: str#

Short name of the game

reply_markup: InlineKeyboardMarkup | None#

Optional. Inline keyboard attached to the message