o
    ZzjŠ
  ã                   @   sH   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„ deƒZ	dS )	zOThis module contains the classes that represent Telegram InlineQueryResultGame.é    )ÚInlineKeyboardMarkup)ÚInlineQueryResult)ÚJSONDict)ÚInlineQueryResultTypec                       sH   e Zd ZdZdZ	dddœdedededB dedB f‡ fd	d
„Z‡  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                   sT   t ƒ jtj||d� |  ¡ � || _|| _|| _W d   ƒ d S 1 s#w   Y  d S )Nr	   )ÚsuperÚ__init__r   ÚGAMEÚ	_unfrozenr   r   r   )Úselfr   r   r   r
   ©Ú	__class__© úa/var/www/kodo/tsheker/venv/lib/python3.10/site-packages/telegram/_inline/inlinequeryresultgame.pyr   3   s   	
"üzInlineQueryResultGame.__init__)N)
Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú	__slots__Ústrr   r   r   Ú__classcell__r   r   r   r   r      s    üúþýüúr   N)
r   Ú%telegram._inline.inlinekeyboardmarkupr   Ú"telegram._inline.inlinequeryresultr   Útelegram._utils.typesr   Útelegram.constantsr   r   r   r   r   r   Ú<module>   s   