
    Yi                     ^    S r SSKJrJr  SSKJr  SSKJr  SSKJ	r	  SSK
Jr   " S S\5      rg	)
zKThis module contains the classes that represent Telegram InlineQueryResult.    )FinalOptional)	constants)TelegramObject)enum)JSONDictc                      ^  \ rS rSr% SrSrSS.S\S\S\\   4U 4S	 jjjr	\
R                  R                  r\\   \S
'    \
R                  R                   r\\   \S'   SrU =r$ )InlineQueryResult   aQ  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U ]  US9  [        R                  " [        R
                  X5      U l        [        U5      U l        U R                  4U l	        U R                  5         g )Nr   )super__init__r   
get_memberr   InlineQueryResultTyper   strr   	_id_attrs_freeze)selfr   r   r   	__class__s       M/app/.venv/lib/python3.13/site-packages/telegram/_inline/inlinequeryresult.pyr   InlineQueryResult.__init__;   sN    J/ )H)H$U	2w''    MIN_ID_LENGTHMAX_ID_LENGTH)r   r   r   )__name__
__module____qualname____firstlineno____doc__	__slots__r   r   r   r   r   InlineQueryResultLimitr   r   int__annotations__r   __static_attributes____classcell__)r   s   @r   r
   r
      sx    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>r0      s&   ( R "  3   *1 1r   