+
    ÁFñjµ#  ã                   óÈ   € R t ^ RIHtHt ^ RIHtHt ^ RIHt ^ RI	H
t
 ^ RIHt ^ RIHt ^ RIHt ^ RIHt ^ R	IHt ^ R
IHtHtHt ]'       d	   ^ RIHtHt  ! R R]4      tR# )zFThis module contains an object that represents a Telegram InlineQuery.)ÚCallableÚSequence)ÚTYPE_CHECKINGÚFinal)Ú	constants)ÚLocation)ÚInlineQueryResultsButton)ÚTelegramObject)ÚUser)Úde_json_optional)ÚDEFAULT_NONE)ÚJSONDictÚODVInputÚ
TimePeriod)ÚBotÚInlineQueryResultc                   óD  a a€ ] tR t^&t oRtRtRRR/V3R lV 3R llllt]RV3R lV 3R lll4       tRRRR	R
R]	R]	R]	R]	RR/V3R lR lllt
]P                  P                  t ]P                  P                  t ]P                  P                   t V3R ltRtVtV ;t# )ÚInlineQueryaÚ  
This object represents an incoming inline query. When the user sends an empty query, your bot
could return some default or trending results.

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

.. figure:: https://core.telegram.org/file/464001466/10e4a/r4FKyQ7gw5g.134366/f2        606a53d683374703
    :align: center

    Inline queries on Telegram

.. seealso::
    The :class:`telegram.InlineQueryResult` classes represent the media the user can choose
    from (see above figure).

Note:
    In Python :keyword:`from` is a reserved word. Use :paramref:`from_user` instead.

.. versionchanged:: 20.0
    The following are now keyword-only arguments in Bot methods:
    ``{read, write, connect, pool}_timeout``, :paramref:`answer.api_kwargs`,
    ``auto_pagination``. Use a named argument for those,
    and notice that some positional arguments changed position as a result.

.. versionchanged:: 22.0
    Removed constants ``MIN_START_PARAMETER_LENGTH`` and ``MAX_START_PARAMETER_LENGTH``.
    Use :attr:`telegram.constants.InlineQueryResultsButtonLimit.MIN_START_PARAMETER_LENGTH` and
    :attr:`telegram.constants.InlineQueryResultsButtonLimit.MAX_START_PARAMETER_LENGTH`
    instead.

Args:
    id (:obj:`str`): Unique identifier for this query.
    from_user (:class:`telegram.User`): Sender.
    query (:obj:`str`): Text of the query (up to
        :tg-const:`telegram.InlineQuery.MAX_QUERY_LENGTH` characters).
    offset (:obj:`str`): Offset of the results to be returned, can be controlled by the bot.
    chat_type (:obj:`str`, optional): Type of the chat, from which the inline query was sent.
        Can be either :tg-const:`telegram.Chat.SENDER` for a private chat with the inline query
        sender, :tg-const:`telegram.Chat.PRIVATE`, :tg-const:`telegram.Chat.GROUP`,
        :tg-const:`telegram.Chat.SUPERGROUP` or :tg-const:`telegram.Chat.CHANNEL`. The chat
        type should be always known for requests sent from official clients and most
        third-party clients, unless the request was sent from a secret chat.

        .. versionadded:: 13.5
    location (:class:`telegram.Location`, optional): Sender location, only for bots that
        request user location.

Attributes:
    id (:obj:`str`): Unique identifier for this query.
    from_user (:class:`telegram.User`): Sender.
    query (:obj:`str`): Text of the query (up to
        :tg-const:`telegram.InlineQuery.MAX_QUERY_LENGTH` characters).
    offset (:obj:`str`): Offset of the results to be returned, can be controlled by the bot.
    chat_type (:obj:`str`): Optional. Type of the chat, from which the inline query was sent.
        Can be either :tg-const:`telegram.Chat.SENDER` for a private chat with the inline query
        sender, :tg-const:`telegram.Chat.PRIVATE`, :tg-const:`telegram.Chat.GROUP`,
        :tg-const:`telegram.Chat.SUPERGROUP` or :tg-const:`telegram.Chat.CHANNEL`. The chat
        type should be always known for requests sent from official clients and most
        third-party clients, unless the request was sent from a secret chat.

        .. versionadded:: 13.5
    location (:class:`telegram.Location`): Optional. Sender location, only for bots that
        request user location.

NÚ
api_kwargsc                ó^   <€ V ^8„  d   QhRS[ RS[RS[ RS[ RRRS[ R,          R	S[R,          /# )
é   ÚidÚ	from_userÚqueryÚoffsetÚlocationzLocation | NoneÚ	chat_typeNr   )Ústrr
   r   )ÚformatÚ__classdict__s   "€ÚR/opt/hermes-site/venv/lib/python3.14/site-packages/telegram/_inline/inlinequery.pyÚ__annotate__ÚInlineQuery.__annotate__m   sY   ø€ ÷ ñ áðñ ðñ ð	ñ
 ðð $ðñ ˜•:ðñ ˜t•Oñó    c               ó´   <€ \         SV `  VR 7       Wn        W n        W0n        W@n        WPn        W`n        V P                  3V n        V P                  4        R# ))r   N)
ÚsuperÚ__init__r   r   r   r   r   r   Ú	_id_attrsÚ_freeze)	Úselfr   r   r   r   r   r   r   Ú	__class__s	   &&&&&&&$€r    r&   ÚInlineQuery.__init__m   sK   ø€ ô 	‰Ñ JÐÔ/àŒØ(ŒØŒ
Ø!Œð *2ŒØ%.ŒàŸ'™'˜ˆŒà�‰Žr#   c                ó(   <€ V ^8„  d   QhRS[ RRRR/# )r   ÚdataÚbotz
Bot | NoneÚreturnr   )r   )r   r   s   "€r    r!   r"   ˆ   s"   ø€ ÷ 3ñ 3™8ð 3¨,ð 3À-ñ 3r#   c                óÔ   <€ V P                  V4      p\        VP                  RR4      \        V4      VR&   \        VP	                  R4      \
        V4      VR&   \        SV `  WR7      # )z,See :meth:`telegram.TelegramObject.de_json`.ÚfromNr   r   )r-   r.   )Ú_parse_datar   Úpopr
   Úgetr   r%   Úde_json)Úclsr-   r.   r*   s   &&&€r    r5   ÚInlineQuery.de_json‡   s^   ø€ ð �‰˜tÓ$ˆä,¨T¯X©X°f¸dÓ-CÄTÈ3ÓOˆˆ[ÑÜ+¨D¯H©H°ZÓ,@Ä(ÈCÓPˆˆZÑä‰w‰ DˆÓ2Ð2r#   Úcurrent_offsetÚauto_paginationFÚread_timeoutÚwrite_timeoutÚconnect_timeoutÚpool_timeoutc                óN  <€ V ^8„  d   QhRS[ R,          S[S[.S[ R,          R,          3,          ,          RS[R,          RS[R,          RS[R,          RS[R,          RS[R,          R	S[R
S[S[,          RS[S[,          RS[S[,          RS[S[,          RS[	R,          RS[/# )r   Úresultsr   NÚ
cache_timeÚis_personalÚnext_offsetÚbuttonr8   r9   r:   r;   r<   r=   r   r/   )
r   r   Úintr   Úboolr   r   r   Úfloatr   )r   r   s   "€r    r!   r"   ‘   sÜ   ø€ ÷ ;
ñ ;
ñ Ð(Õ)©H±c°U¹HÐEXÕ<YÐ\`Õ<`Ð5`Õ,aÕað;
ñ
  Õ%ð;
ñ ˜D•[ð;
ñ ˜4•Zð;
ñ )¨4Õ/ð;
ñ ˜d�
ð;
ñ ð;
ñ ™u•oð;
ñ  ¡•ð;
ñ "¡%�ð;
ñ ™u•oð;
ñ  ˜t•Oð!;
ñ" 
ñ#;
r#   c             ƒ  óæ   "  € V'       d   V'       d   \        R4      hV P                  4       P                  V P                  V'       d   V P                  MTVVVVVVV	V
VVR7      G Rj  x€L
 #  L5i)a,  Shortcut for::

    await bot.answer_inline_query(
        update.inline_query.id,
        *args,
        current_offset=self.offset if auto_pagination else None,
        **kwargs
    )

For the documentation of the arguments, please see
:meth:`telegram.Bot.answer_inline_query`.

.. versionchanged:: 20.0
    Raises :class:`ValueError` instead of :class:`TypeError`.

Keyword Args:
    auto_pagination (:obj:`bool`, optional): If set to :obj:`True`, :attr:`offset` will be
        passed as
        :paramref:`current_offset <telegram.Bot.answer_inline_query.current_offset>` to
        :meth:`telegram.Bot.answer_inline_query`.
        Defaults to :obj:`False`.

Raises:
    ValueError: If both :paramref:`~telegram.Bot.answer_inline_query.current_offset` and
        :paramref:`auto_pagination` are supplied.
z:current_offset and auto_pagination are mutually exclusive!)Úinline_query_idr8   r?   r@   rA   rB   rC   r:   r;   r<   r=   r   N)Ú
ValueErrorÚget_botÚanswer_inline_queryr   r   )r)   r?   r@   rA   rB   rC   r8   r9   r:   r;   r<   r=   r   s   &&&&&&$$$$$$$r    ÚanswerÚInlineQuery.answer‘   sq   é € ÷X ŸoÜÐYÓZÐZØ—\‘\“^×7Ñ7Ø ŸG™Gß*9˜4Ÿ;š;¸~ØØ!Ø#Ø#ØØ%Ø'Ø+Ø%Ø!ð 8ó 
÷ 
ð 	
ñ 
ùs   ‚A1“6A1Á
 A1Á*A/Á+A1c                ón   <€ V ^8„  d   Qh/ S[ S[,          ;R&   S[ S[,          ;R&   S[ S[,          ;R&   # )r   ÚMAX_RESULTSÚMAX_OFFSET_LENGTHÚMAX_QUERY_LENGTH)r   rD   )r   r   s   "€r    r!   r"   &   s>   ø‡ ‚ ñP ‘s•Ñ@ñQ ñZ ™S•zÑPñ[ ñd ™C•jÑNòe r#   )r'   r   r   r   r   r   r   )r   r   r   r   r   r   )NN)N)NNNN)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Ú	__slots__r&   Úclassmethodr5   r   rL   r   ÚInlineQueryLimitÚRESULTSrO   rP   rQ   Ú__annotate_func__Ú__static_attributes__Ú__classdictcell__Ú__classcell__)r*   r   s   @@r    r   r   &   sä   ù‡ € ñBðH P€Iñð '+÷ö ð4 ÷3ô 3ó ð3ñ;
ð &*ð;
ð !&ð;
ð )5ð;
ð *6ð;
ð ,8ð;
ð )5ð;
ð  '+÷!;
ó ;
ðz (×8Ñ8×@Ñ@€Kðð %.×$>Ñ$>×$PÑ$PÐðð $-×#=Ñ#=×#NÑ#NÐð÷g … r#   r   N)rV   Úcollections.abcr   r   Útypingr   r   Útelegramr   Útelegram._files.locationr   Ú)telegram._inline.inlinequeryresultsbuttonr   Útelegram._telegramobjectr	   Útelegram._userr
   Útelegram._utils.argumentparsingr   Útelegram._utils.defaultvaluer   Útelegram._utils.typesr   r   r   r   r   r   © r#   r    Ú<module>rj      s@   ðñ( Mç .ß 'å Ý -Ý NÝ 3Ý Ý <Ý 5ß @Ñ @çß/ôv�.ö vr#   