o
    "h
                     @   sT   d Z ddlm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.    )Optional)InlineKeyboardMarkup)InlineQueryResult)JSONDict)InlineQueryResultTypec                       sH   e Zd ZdZdZ	ddddededee dee 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__ Y/var/www/html/venv/lib/python3.10/site-packages/telegram/_inline/inlinequeryresultgame.pyr   4   s   	
"zInlineQueryResultGame.__init__)N)__name__
__module____qualname____doc__	__slots__strr   r   r   r   __classcell__r   r   r   r   r      s    r   N)r   typingr   %telegram._inline.inlinekeyboardmarkupr   "telegram._inline.inlinequeryresultr   telegram._utils.typesr   telegram.constantsr   r   r   r   r   r   <module>   s   