
    ՟f                     ^    d Z ddlmZ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y	)
zKThis module contains the classes that represent Telegram InlineQueryResult.    )FinalOptional)	constants)TelegramObject)enum)JSONDictc                        e Zd ZU dZdZdddededee   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| _	        | j                          y )Nr   )super__init__r   
get_memberr   InlineQueryResultTyper   strr   	_id_attrs_freeze)selfr   r   r   	__class__s       ]/var/www/cvtools/html/venv/lib/python3.12/site-packages/telegram/_inline/inlinequeryresult.pyr   zInlineQueryResult.__init__;   sQ    J/ )H)H$PTU	2w''    MIN_ID_LENGTHMAX_ID_LENGTH)__name__
__module____qualname____doc__	__slots__r   r   r   r   r   InlineQueryResultLimitr   r   int__annotations__r   __classcell__)r   s   @r   r
   r
      ss    4 IOS 	S 	c 	(8:L 	 !* @ @ N NM5:N !* @ @ N NM5:Nr   r
   N)r    typingr   r   telegramr   telegram._telegramobjectr   telegram._utilsr   telegram._utils.typesr   r
    r   r   <module>r,      s&   ( R "  3   *1 1r   