Ë
    > /iÈ
  ã                   óL   — d Z ddlmZ ddlmZ ddlmZ  G d„ deeef   «      Zy)z7This module contains the PreCheckoutQueryHandler class.é    )ÚUpdate)ÚBaseHandler)ÚCCTc                   ó$   — e Zd ZdZdZdedefd„Zy)ÚPreCheckoutQueryHandlera  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`

    Attributes:
        callback (:term:`coroutine function`): The callback function for this handler.
        block (:obj:`bool`): Determines whether the callback will run in a blocking way..

    © ÚupdateÚreturnc                 óP   — t        |t        «      xr t        |j                  «      S )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`

        )Ú
isinstancer   ÚboolÚpre_checkout_query)Úselfr	   s     ú[/srv/sistema/bot/venv/lib/python3.12/site-packages/telegram/ext/_precheckoutqueryhandler.pyÚcheck_updatez$PreCheckoutQueryHandler.check_update<   s!   € ô ˜&¤&Ó)ÒM¬d°6×3LÑ3LÓ.MÐMó    N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú	__slots__Úobjectr   r   r   r   r   r   r      s$   „ ñð< €Ið
N 6ð 
N¨dô 
Nr   r   N)r   Útelegramr   Útelegram.ext._basehandlerr   Útelegram.ext._utils.typesr   r   r   r   r   ú<module>r      s,   ðñ& >õ Ý 1Ý )ô+N˜k¨&°#¨+Ñ6õ +Nr   