InlineQueryResultGame

class telegram.InlineQueryResultGame(id, game_short_name, reply_markup=None, *, api_kwargs=None)[source]

Bases: telegram.InlineQueryResult

Represents a telegram.Game.

Parameters:
type[source]

'game'.

Type:

str

id[source]

Unique identifier for this result, 1- 64 Bytes.

Type:

str

game_short_name[source]

Short name of the game.

Type:

str

reply_markup[source]

Optional. Inline keyboard attached to the message.

Type:

telegram.InlineKeyboardMarkup