telegram.InlineQueryResultGame¶
-
class
telegram.InlineQueryResultGame(id, game_short_name, reply_markup=None, **kwargs)¶ Bases:
telegram.inline.inlinequeryresult.InlineQueryResultRepresents a Game.
-
type¶ str– ‘game’.
-
id¶ str– Unique identifier for this result, 1-64 bytes.
-
game_short_name¶ str– Short name of the game.
-
reply_markup¶ telegram.InlineKeyboardMarkup– Optional. Inline keyboard attached to the message.
Parameters: - id (
str) – Unique identifier for this result, 1-64 bytes. - game_short_name (
str) – Short name of the game. - reply_markup (
telegram.InlineKeyboardMarkup, optional) – Inline keyboard attached to the message. - **kwargs (
dict) – Arbitrary keyword arguments.
-