+
    ÁFñjõ  ã                   ó¤   € R t ^ RIHt ^ RIHt ^ RIHt ^ RIHtH	t	 ^ RI
Ht ^ RIHtHt ^ RIHtHt ]! R4      t ! R	 R
]]]]3,          4      tR# )z9This module contains the BusinessConnectionHandler class.)ÚTypeVar)ÚUpdate)ÚDEFAULT_TRUE)ÚSCTÚDVType)ÚBaseHandler)Úparse_chat_idÚparse_username)ÚCCTÚHandlerCallbackÚRTc                   ób   a a€ ] tR t^!t oRtRtR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# )ÚBusinessConnectionHandlera  Handler class to handle Telegram
:attr:`Business Connections <telegram.Update.business_connection>`.

.. versionadded:: 21.1

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)
    user_id (:obj:`int` | Collection[:obj:`int`], optional): Filters requests to allow only
        those which are from the specified user ID(s).

    username (:obj:`str` | Collection[:obj:`str`], optional): Filters requests to allow only
        those which are from the specified username(s).

    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 return value of the callback should be
        awaited before processing the next handler in
        :meth:`telegram.ext.Application.process_update`.
Nc                óœ   <€ V ^8„  d   QhRRRS[ S[S[S[3,          RS[S[,          R,          RS[S[,          R,          RS[S[,          /# )é   Úselfz"BusinessConnectionHandler[CCT, RT]ÚcallbackÚuser_idNÚusernameÚblock)	r   r   r
   r   r   ÚintÚstrr   Úbool)ÚformatÚ__classdict__s   "€Úf/opt/hermes-site/venv/lib/python3.14/site-packages/telegram/ext/_handlers/businessconnectionhandler.pyÚ__annotate__Ú&BusinessConnectionHandler.__annotate__D   sZ   ø€ ÷ 
3ñ 
3Ø2ð
3á!¡&©#©r /Õ2ð
3ñ ‘S•˜D•ð
3ñ ‘c•(˜T•/ð	
3ñ
 ‘d�|ñ
3ó    c                óh   <€ \         SV `  WR 7       \        V4      V n        \	        V4      V n        R# ))r   N)ÚsuperÚ__init__r   Ú	_user_idsr	   Ú
_usernames)r   r   r   r   r   Ú	__class__s   &&&&&€r   r!   Ú"BusinessConnectionHandler.__init__D   s-   ø€ ô 	‰Ñ˜ÐÔ/ä& wÓ/ˆŒÜ(¨Ó2ˆŽr   c                ó&   <€ V ^8„  d   QhRS[ RS[/# )r   ÚupdateÚreturn)Úobjectr   )r   r   s   "€r   r   r   P   s   ø€ ÷ ñ ¡6ð ©dñ r   c                ó^  € \        V\        4      '       d—   VP                  '       d…   V P                  '       g   V P                  '       g   R# VP                  P
                  P                  V P                  9   d   R# VP                  P
                  P                  V P                  9   # 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   Úbusiness_connectionr"   r#   ÚuserÚidr   )r   r'   s   &&r   Úcheck_updateÚ&BusinessConnectionHandler.check_updateP   su   € ô �fœf×%Ò%¨&×*D×*DÐ*DØ—>—>�>¨$¯/¯/¨/ÙØ×)Ñ)×.Ñ.×1Ñ1°T·^±^ÔCÙØ×-Ñ-×2Ñ2×;Ñ;¸t¿¹ÑNÐNÙr   )r"   r#   )Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Ú	__slots__r   r!   r/   Ú__static_attributes__Ú__classdictcell__Ú__classcell__)r$   r   s   @@r   r   r   !   s5   ù‡ € ñð:€Ið $(Ø$(Ø*÷
3õ 
3÷÷ ð r   r   N)r5   Útypingr   Útelegramr   Útelegram._utils.defaultvaluer   Útelegram._utils.typesr   r   Ú"telegram.ext._handlers.basehandlerr   Ú#telegram.ext._utils._update_parsingr   r	   Útelegram.ext._utils.typesr
   r   r   r   © r   r   Ú<module>rB      s@   ðñ& @å å Ý 5ß -Ý :ß Mß :áˆTƒ]€ô? ¨F°C¸¨OÕ <ö ?r   