
    i
                     V    d Z ddlmZ ddlmZ ddlmZ ddlmZ  G d de          Z	dS )	zOThis module contains the classes that represent Telegram InlineQueryResultGame.    )InlineKeyboardMarkup)InlineQueryResult)JSONDict)InlineQueryResultTypec                   N     e Zd ZdZdZ	 d
dddedededz  dedz  f fd	Z xZ	S )InlineQueryResultGamea  Represents a :class:`telegram.Game`.

    Args:
        id (:obj:`str`): Unique identifier for this result,
            :tg-const:`telegram.InlineQueryResult.MIN_ID_LENGTH`-
            :tg-const:`telegram.InlineQueryResult.MAX_ID_LENGTH` Bytes.
        game_short_name (:obj:`str`): Short name of the game.
        reply_markup (:class:`telegram.InlineKeyboardMarkup`, optional): Inline keyboard attached
            to the message.

    Attributes:
        type (:obj:`str`): :tg-const:`telegram.constants.InlineQueryResultType.GAME`.
        id (:obj:`str`): Unique identifier for this result,
            :tg-const:`telegram.InlineQueryResult.MIN_ID_LENGTH`-
            :tg-const:`telegram.InlineQueryResult.MAX_ID_LENGTH` Bytes.
        game_short_name (:obj:`str`): Short name of the game.
        reply_markup (:class:`telegram.InlineKeyboardMarkup`): Optional. Inline keyboard attached
            to the message.

    )game_short_namereply_markupN
api_kwargsidr	   r
   r   c                    t                                          t          j        ||           |                                 5  || _        || _        || _        d d d            d S # 1 swxY w Y   d S )Nr   )super__init__r   GAME	_unfrozenr   r	   r
   )selfr   r	   r
   r   	__class__s        f/Users/shanyulin/my-agent/.venv/lib/python3.11/site-packages/telegram/_inline/inlinequeryresultgame.pyr   zInlineQueryResultGame.__init__3   s     	.3RJOOO^^ 	J 	JDG(7D =ID		J 	J 	J 	J 	J 	J 	J 	J 	J 	J 	J 	J 	J 	J 	J 	J 	J 	Js   A''A+.A+)N)
__name__
__module____qualname____doc__	__slots__strr   r   r   __classcell__)r   s   @r   r   r      s         * 4I 59	J '+J J JJ J +T1	J tOJ J J J J J J J J J    r   N)
r   %telegram._inline.inlinekeyboardmarkupr   "telegram._inline.inlinequeryresultr   telegram._utils.typesr   telegram.constantsr   r    r   r   <module>r#      s   & V U F F F F F F @ @ @ @ @ @ * * * * * * 4 4 4 4 4 4&J &J &J &J &J- &J &J &J &J &Jr   