
    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       b/Users/shanyulin/my-agent/.venv/lib/python3.11/site-packages/telegram/_inline/inlinequeryresult.pyr   zInlineQueryResult.__init__;   sb    J/// )H$PTUU	2ww'    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 ILP 	 	 	S 	c 	(T/ 	 	 	 	 	 	 !* @ NM5:NNN !* @ NM5: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   