+
    ÁFñj±  ã                   ó¤   € R t ^ RI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 ]! R	4      t ! R
 R]]]]3,          4      tR# )z7This module contains the PreCheckoutQueryHandler class.N)ÚPattern)ÚTypeVar)ÚUpdate)ÚDEFAULT_TRUE)ÚDVType)ÚBaseHandler)ÚCCTÚHandlerCallbackÚRTc                   ó`   a a€ ] tR t^"t oRtRt]R3V3R lV 3R llltV3R lR ltRt	Vt
V ;t# )ÚPreCheckoutQueryHandleraY  Handler class to handle Telegram :attr:`telegram.Update.pre_checkout_query`.

Warning:
    When setting :paramref:`block` to :obj:`False`, you cannot rely on adding custom
    attributes to :class:`telegram.ext.CallbackContext`. See its docs for more info.

Examples:
    :any:`Payment Bot <examples.paymentbot>`

Args:
    callback (:term:`coroutine function`): The callback function for this handler. Will be
        called when :meth:`check_update` has determined that an update should be processed by
        this handler. Callback signature::

            async def callback(update: Update, context: CallbackContext)

        The return value of the callback is usually ignored except for the special case of
        :class:`telegram.ext.ConversationHandler`.
    block (:obj:`bool`, optional): Determines whether the return value of the callback should
        be awaited before processing the next handler in
        :meth:`telegram.ext.Application.process_update`. Defaults to :obj:`True`.

        .. seealso:: :wiki:`Concurrency`
    pattern (:obj:`str` | :func:`re.Pattern <re.compile>`, optional): Optional. Regex pattern
        to test :attr:`telegram.PreCheckoutQuery.invoice_payload` against.

        .. versionadded:: 20.8

Attributes:
    callback (:term:`coroutine function`): The callback function for this handler.
    block (:obj:`bool`): Determines whether the callback will run in a blocking way..
    pattern (:obj:`str` | :func:`re.Pattern <re.compile>`, optional): Optional. Regex pattern
        to test :attr:`telegram.PreCheckoutQuery.invoice_payload` against.

        .. versionadded:: 20.8

Nc          
      óˆ   <€ V ^8„  d   QhRRRS[ S[S[S[3,          RS[S[,          RS[S[S[,          ,          R,          /# )é   Úselfz PreCheckoutQueryHandler[CCT, RT]ÚcallbackÚblockÚpatternN)r	   r   r   r
   r   ÚboolÚstrr   )ÚformatÚ__classdict__s   "€Úd/opt/hermes-site/venv/lib/python3.14/site-packages/telegram/ext/_handlers/precheckoutqueryhandler.pyÚ__annotate__Ú$PreCheckoutQueryHandler.__annotate__K   sT   ø€ ÷ añ aØ0ðaá!¡&©#©r /Õ2ðañ ‘d�|ðañ ‘w™s•|Õ# dÕ*ñ	aó    c                óx   <€ \         SV `  WR 7       Ve   \        P                  ! V4      V n        R# RV n        R# ))r   N)ÚsuperÚ__init__ÚreÚcompiler   )r   r   r   r   Ú	__class__s   &&&&€r   r   Ú PreCheckoutQueryHandler.__init__K   s1   ø€ ô 	‰Ñ˜ÐÔ/àCJÒCV¬B¯JªJ°wÓ,?ˆŽÐ\`ˆŽr   c                ó&   <€ V ^8„  d   QhRS[ RS[/# )r   ÚupdateÚreturn)Úobjectr   )r   r   s   "€r   r   r   U   s   ø€ ÷ ñ ¡6ð ©dñ r   c                óö   € \        V\        4      '       dc   VP                  '       dQ   VP                  P                  pV P                  '       d'   V P                  P                  V4      '       d   R#  R# R# R# )z¼Determines whether an update should be passed to this handler's :attr:`callback`.

Args:
    update (:class:`telegram.Update` | :obj:`object`): Incoming update.

Returns:
    :obj:`bool`

TF)Ú
isinstancer   Úpre_checkout_queryÚinvoice_payloadr   Úmatch)r   r#   r)   s   && r   Úcheck_updateÚ$PreCheckoutQueryHandler.check_updateU   s`   € ô �fœf×%Ò%¨&×*C×*CÐ*CØ$×7Ñ7×GÑGˆOØ�|�|ˆ|Ø—<‘<×%Ñ% o×6Ò6Ùð 7ñ ñ Ùr   )r   )Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Ú	__slots__r   r   r+   Ú__static_attributes__Ú__classdictcell__Ú__classcell__)r    r   s   @@r   r   r   "   s5   ù‡ € ñ$ðL €Ið
 +Ø-1÷	aõ a÷÷ ð r   r   )r1   r   r   Útypingr   Útelegramr   Útelegram._utils.defaultvaluer   Útelegram._utils.typesr   Ú"telegram.ext._handlers.basehandlerr   Útelegram.ext._utils.typesr   r	   r
   r   © r   r   Ú<module>r=      sD   ðñ& >ã 	Ý Ý å Ý 5Ý (Ý :ß :áˆTƒ]€ôD˜k¨&°#°r¨/Õ:ö Dr   