+
    ÁFñjN  ã                   ó¤   € 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# )z8This module contains the ManagedBotUpdatedHandler 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# )ÚManagedBotUpdatedHandlera»  Handler class to handle
:attr:`updated Telegram Managed Bots <telegram.Update.managed_bot>`.

.. versionadded:: 22.8

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). The user ID(s) can be either the
        creator of the managed bot or the bot itself.

    username (:obj:`str` | Collection[:obj:`str`], optional): Filters requests to allow only
        those which are from the specified username(s). The username(s) can be either the
        creator of the managed bot or the bot itself.

    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!ManagedBotUpdatedHandler[CCT, RT]ÚcallbackÚuser_idNÚusernameÚblock)	r   r   r
   r   r   ÚintÚstrr   Úbool)ÚformatÚ__classdict__s   "€Úe/opt/hermes-site/venv/lib/python3.14/site-packages/telegram/ext/_handlers/managedbotupdatedhandler.pyÚ__annotate__Ú%ManagedBotUpdatedHandler.__annotate__F   sZ   ø€ ÷ 
3ñ 
3Ø1ð
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!   Ú!ManagedBotUpdatedHandler.__init__F   s-   ø€ ô 	‰Ñ˜ÐÔ/ä& wÓ/ˆŒÜ(¨Ó2ˆŽr   c                ó&   <€ V ^8„  d   QhRS[ RS[/# )r   ÚupdateÚreturn)Úobjectr   )r   r   s   "€r   r   r   R   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   g0   VP                  P                  P                  V P                  9   d   R# VP                  P
                  P                  V P                  9   ;'       g.    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   Úmanaged_botr"   r#   ÚuserÚidÚbotr   )r   r'   s   &&r   Úcheck_updateÚ%ManagedBotUpdatedHandler.check_updateR   sÁ   € ô �fœf×%Ò%¨&×*<×*<Ð*<Ø—>—>�>¨$¯/¯/¨/Ùà×"Ñ"×'Ñ'×*Ñ*¨d¯n©nÔ<Ø×%Ñ%×)Ñ)×,Ñ,°·±Ô>áà×"Ñ"×'Ñ'×0Ñ0°D·O±OÑC÷ Fð FØ×%Ñ%×)Ñ)×2Ñ2°d·o±oÑEðñ r   )r"   r#   )Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Ú	__slots__r   r!   r0   Ú__static_attributes__Ú__classdictcell__Ú__classcell__)r$   r   s   @@r   r   r   !   s5   ù‡ € ñð>€Ið $(Ø$(Ø*÷
3õ 
3÷÷ ð r   r   N)r6   Ú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>rC      sA   ðñ& ?å å Ý 5ß -Ý :ß Mß :áˆTƒ]€ôG˜{¨6°3¸¨?Õ;ö Gr   