+
    ÁFñj„  ã                   ó”   € R 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 ]'       d   ^ RIHt  ! R	 R
]4      tR# )zKThis module contains an object that represents a Telegram PreCheckoutQuery.)ÚTYPE_CHECKING)Ú	OrderInfo)ÚTelegramObject)ÚUser)Úde_json_optional)ÚDEFAULT_NONE)ÚJSONDictÚODVInput)ÚBotc                   ó¦   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/V3R lR lllt
RtVtV ;t# )ÚPreCheckoutQueryam  This object contains information about an incoming pre-checkout query.

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:
    In Python :keyword:`from` is a reserved word. Use :paramref:`from_user` instead.

Args:
    id (:obj:`str`): Unique query identifier.
    from_user (:class:`telegram.User`): User who sent the query.
    currency (:obj:`str`): Three-letter ISO 4217 currency code, or ``XTR`` for payments in
        |tg_stars|.
    total_amount (:obj:`int`): Total price in the smallest units of the currency (integer,
        **not** float/double). For example, for a price of ``US$ 1.45`` pass ``amount = 145``.
        See the ``exp`` parameter in
        `currencies.json <https://core.telegram.org/bots/payments/currencies.json>`_,
        it shows the number of digits past the decimal point for each currency
        (2 for the majority of currencies).
    invoice_payload (:obj:`str`): Bot-specified invoice payload.
    shipping_option_id (:obj:`str`, optional): Identifier of the shipping option chosen by the
        user.
    order_info (:class:`telegram.OrderInfo`, optional): Order info provided by the user.

Attributes:
    id (:obj:`str`): Unique query identifier.
    from_user (:class:`telegram.User`): User who sent the query.
    currency (:obj:`str`): Three-letter ISO 4217 currency code, or ``XTR`` for payments in
        |tg_stars|.
    total_amount (:obj:`int`): Total price in the smallest units of the currency (integer,
        **not** float/double). For example, for a price of ``US$ 1.45`` pass ``amount = 145``.
        See the ``exp`` parameter in
        `currencies.json <https://core.telegram.org/bots/payments/currencies.json>`_,
        it shows the number of digits past the decimal point for each currency
        (2 for the majority of currencies).
    invoice_payload (:obj:`str`): Bot-specified invoice payload.
    shipping_option_id (:obj:`str`): Optional. Identifier of the shipping option chosen by the
        user.
    order_info (:class:`telegram.OrderInfo`): Optional. Order info provided by the user.


NÚ
api_kwargsc                ót   <€ V ^8„  d   QhRS[ RS[RS[ RS[RS[ RS[ R,          RS[R,          R	S[R,          /# )
é   ÚidÚ	from_userÚcurrencyÚtotal_amountÚinvoice_payloadÚshipping_option_idNÚ
order_infor   )Ústrr   Úintr   r   )ÚformatÚ__classdict__s   "€ÚX/opt/hermes-site/venv/lib/python3.14/site-packages/telegram/_payment/precheckoutquery.pyÚ__annotate__ÚPreCheckoutQuery.__annotate__X   sh   ø€ ÷ ñ áðñ ðñ ð	ñ
 ðñ ðñ   $�Jðñ  Õ$ðñ ˜t•Oñó    c               óÀ   <€ \         S	V `  VR 7       Wn        W n        W0n        W@n        WPn        W`n        Wpn        V P                  3V n	        V P                  4        R# ))r   N)ÚsuperÚ__init__r   r   r   r   r   r   r   Ú	_id_attrsÚ_freeze)
Úselfr   r   r   r   r   r   r   r   Ú	__class__s
   &&&&&&&&$€r   r!   ÚPreCheckoutQuery.__init__X   sQ   ø€ ô 	‰Ñ JÐÔ/ØŒØ(ŒØ%ŒØ!-ÔØ$3ÔØ.@ÔØ,6ŒàŸ'™'˜ˆŒà�‰Ž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   r   s#   ø€ ÷ 3ñ 3™8ð 3¨,ð 3ÐBTñ 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   r0   ÚPreCheckoutQuery.de_jsonq   s_   ø€ ð �‰˜tÓ$ˆä,¨T¯X©X°f¸dÓ-CÄTÈ3ÓOˆˆ[ÑÜ-¨d¯h©h°|Ó.DÄiÐQTÓUˆˆ\Ñä‰w‰ DˆÓ2Ð2r   Úread_timeoutÚwrite_timeoutÚconnect_timeoutÚpool_timeoutc                ó¦   <€ V ^8„  d   QhRS[ RS[R,          RS[S[,          RS[S[,          RS[S[,          RS[S[,          RS[R,          R	S[ /# )
r   ÚokÚerror_messageNr3   r4   r5   r6   r   r*   )Úboolr   r	   Úfloatr   )r   r   s   "€r   r   r   {   ss   ø€ ÷ 
ñ 
áð
ñ ˜T•zð
ñ
 ™u•oð
ñ  ¡•ð
ñ "¡%�ð
ñ ™u•oð
ñ ˜t•Oð
ñ 
ñ
r   c             ƒ  ó€   "  € V P                  4       P                  V P                  VVVVVVVR7      G Rj  x€L
 #  L5i)zÍShortcut for::

     await bot.answer_pre_checkout_query(update.pre_checkout_query.id, *args, **kwargs)

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

)Úpre_checkout_query_idr8   r9   r3   r4   r5   r6   r   N)Úget_botÚanswer_pre_checkout_queryr   )r$   r8   r9   r3   r4   r5   r6   r   s   &&&$$$$$r   ÚanswerÚPreCheckoutQuery.answer{   sK   é € ð& —\‘\“^×=Ñ=Ø"&§'¡'ØØ'Ø%Ø'Ø+Ø%Ø!ð >ó 	
÷ 	
ð 		
ñ 	
ùs   ‚5>·<¸>)r"   r   r   r   r   r   r   r   )r   r   r   r   r   r   r   )NN)N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Ú	__slots__r!   Úclassmethodr0   r   r@   Ú__static_attributes__Ú__classdictcell__Ú__classcell__)r%   r   s   @@r   r   r   "   s€   ù‡ € ñ)ðV€Iñð '+÷ö ð2 ÷3ô 3ó ð3ñ
ð
 )5ð
ð *6ð
ð ,8ð
ð )5ð
ð '+÷
÷ 
ó 
r   r   N)rF   Útypingr   Útelegram._payment.orderinfor   Útelegram._telegramobjectr   Útelegram._userr   Útelegram._utils.argumentparsingr   Útelegram._utils.defaultvaluer   Útelegram._utils.typesr   r	   Útelegramr
   r   © r   r   Ú<module>rU      s4   ðñ& Rå  å 1Ý 3Ý Ý <Ý 5ß 4çÝôu
�~ö u
r   