§
    «eîi	  ã                   ób   — 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e¦  «        Zd	S )
zKThis module contains the classes that represent Telegram InlineQueryResult.é    )ÚFinal)Ú	constants)ÚTelegramObject)Úenum)ÚJSONDictc                   ó    ‡ — e Zd ZU dZdZddœdedededz  fˆ fd„Zej	        j
        Z
ee         ed	<   	 ej	        j        Zee         ed
<   ˆ xZS )ÚInlineQueryResulta™  Baseclass for the InlineQueryResult* classes.

    Objects of this class are comparable in terms of equality. Two objects of this class are
    considered equal, if their :attr:`id` is equal.

    Note:
        All URLs passed in inline query results will be available to end users and therefore must
        be assumed to be *public*.

    Examples:
        :any:`Inline Bot <examples.inlinebot>`

    Args:
        type (:obj:`str`): Type of the result.
        id (:obj:`str`): Unique identifier for this result,
            :tg-const:`telegram.InlineQueryResult.MIN_ID_LENGTH`-
            :tg-const:`telegram.InlineQueryResult.MAX_ID_LENGTH` Bytes.

    Attributes:
        type (:obj:`str`): Type of the result.
        id (:obj:`str`): Unique identifier for this result,
            :tg-const:`telegram.InlineQueryResult.MIN_ID_LENGTH`-
            :tg-const:`telegram.InlineQueryResult.MAX_ID_LENGTH` Bytes.

    )ÚidÚtypeN©Ú
api_kwargsr   r
   r   c                ó   •— t          ¦   «                              |¬¦  «         t          j        t          j        ||¦  «        | _        t          |¦  «        | _        | j        f| _	        |  
                    ¦   «          d S )Nr   )ÚsuperÚ__init__r   Ú
get_memberr   ÚInlineQueryResultTyper   Ústrr
   Ú	_id_attrsÚ_freeze)Úselfr   r
   r   Ú	__class__s       €úf/home/div/.hermes/hermes-agent/venv/lib/python3.11/site-packages/telegram/_inline/inlinequeryresult.pyr   zInlineQueryResult.__init__;   sb   ø€ Ý‰Œ×Ò JÐÑ/Ô/Ð/õ œ­Ô)HÈ$ÐPTÑUÔUˆŒ	Ý˜2‘w”wˆŒàœ'˜ˆŒà�Š‰Œˆˆˆó    ÚMIN_ID_LENGTHÚMAX_ID_LENGTH)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú	__slots__r   r   r   r   ÚInlineQueryResultLimitr   r   ÚintÚ__annotations__r   Ú__classcell__)r   s   @r   r	   r	      s³   ø€ € € € € € ðð ð4 €IàLPð 	ð 	ð 	˜Sð 	 cð 	¸(ÀT¹/ð 	ð 	ð 	ð 	ð 	ð 	ð !*Ô @Ô N€M�5˜”:ÐNÐNÑNðð !*Ô @Ô N€M�5˜”:ÐNÐNÑNðð ð ð r   r	   N)r   Útypingr   Útelegramr   Útelegram._telegramobjectr   Útelegram._utilsr   Útelegram._utils.typesr   r	   © r   r   ú<module>r+      sœ   ðð( RÐ Qà Ð Ð Ð Ð Ð à Ð Ð Ð Ð Ð Ø 3Ð 3Ð 3Ð 3Ð 3Ð 3Ø  Ð  Ð  Ð  Ð  Ð  Ø *Ð *Ð *Ð *Ð *Ð *ð1ð 1ð 1ð 1ð 1˜ñ 1ô 1ð 1ð 1ð 1r   