InlineQueryResultGame#

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

Represents a Game.

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

model_computed_fields: ClassVar[dict[str, ComputedFieldInfo]] = {}#

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

game_short_name: str#

Short name of the game

reply_markup: InlineKeyboardMarkup | None#

Optional. Inline keyboard attached to the message