telegram.InlineQueryResultGame

class telegram.InlineQueryResultGame(*args, **kwargs)[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