+
    ÁFñjW  ã                   óÀ   € R t ^ RIHtHt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	4      t ! R
 R]]]]3,          4      tR# )z.This module contains the MessageHandler class.)ÚTYPE_CHECKINGÚAnyÚTypeVar)ÚUpdate)ÚDEFAULT_TRUE)ÚDVType©Úfilters)ÚBaseHandler)ÚCCTÚHandlerCallback)ÚApplicationÚRTc                   óp   a a€ ] tR t^$t oRtRt]3V3R lV 3R llltV3R lR ltV3R lR lt	Rt
VtV ;t# )	ÚMessageHandleraŠ  Handler class to handle Telegram messages. They might contain text, media or status
updates.

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.

Args:
    filters (:class:`telegram.ext.filters.BaseFilter`): A filter inheriting from
        :class:`telegram.ext.filters.BaseFilter`. Standard filters can be found in
        :mod:`telegram.ext.filters`. Filters can be combined using bitwise
        operators (& for and, | for or, ~ for not). Passing :obj:`None` is a shortcut
        to passing :class:`telegram.ext.filters.ALL`.

        .. seealso:: :wiki:`Advanced Filters <Extensions---Advanced-Filters>`
    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:
    filters (:class:`telegram.ext.filters.BaseFilter`): Only allow updates with these Filters.
        See :mod:`telegram.ext.filters` for a full list of all available filters.
    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`.

c          	      ó|   <€ V ^8„  d   QhRRRS[ P                  R,          RS[S[S[S[3,          RS[S[,          /# )é   ÚselfzMessageHandler[CCT, RT]r	   NÚcallbackÚblock)Úfilters_moduleÚ
BaseFilterr   r   r   r   r   Úbool)ÚformatÚ__classdict__s   "€Ú[/opt/hermes-site/venv/lib/python3.14/site-packages/telegram/ext/_handlers/messagehandler.pyÚ__annotate__ÚMessageHandler.__annotate__N   sK   ø€ ÷ 	
ñ 	
Ø'ð	
á×*Ñ*¨TÕ1ð	
ñ "¡&©#©r /Õ2ð	
ñ ‘d�|ñ		
ó    c                ól   <€ \         SV `  W#R 7       Ve
   VV n        R# \        P                  V n        R# ))r   N)ÚsuperÚ__init__r   ÚALLr	   )r   r	   r   r   Ú	__class__s   &&&&€r   r!   ÚMessageHandler.__init__N   s4   ø€ ô 	‰Ñ˜ÐÔ/àÒ*ˆGð 	ŽÜ0>×0BÑ0Bð 	Žr   c                ój   <€ V ^8„  d   QhRS[ RS[S[S[S[S[,          3,          ,          R,          /# )r   ÚupdateÚreturnN)Úobjectr   ÚdictÚstrÚlistr   )r   r   s   "€r   r   r   Y   s2   ø€ ÷ ñ ¡6ð ©d±T¹#¹tÁC½y¸.Õ5IÕ.IÈDÕ.Pñ r   c                ó|   € \        V\        4      '       d&   V P                  P                  V4      ;'       g    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`

FN)Ú
isinstancer   r	   Úcheck_update)r   r&   s   &&r   r.   ÚMessageHandler.check_updateY   s1   € ô �fœf×%Ò%Ø—<‘<×,Ñ,¨VÓ4×=Ð=¸Ð=Ùr   c                óh   <€ V ^8„  d   QhRS[ RS[RRRS[S[S[S[3,          ,          R,          RR/# )r   Úcontextr&   Úapplicationz)Application[Any, CCT, Any, Any, Any, Any]Úcheck_resultNr'   )r   r   r   r)   r*   r(   )r   r   s   "€r   r   r   g   sQ   ø€ ÷ 	)ñ 	)áð	)ñ ð	)ð Að		)ñ
 ™T¡#¡v +Õ.Õ.°Õ5ð	)ð 
ñ	)r   c                óX   € \        V\        4      '       d   VP                  V4       R# R# )zEAdds possible output of data filters to the :class:`CallbackContext`.N)r-   r)   r&   )r   r1   r&   r2   r3   s   &&&&&r   Úcollect_additional_contextÚ)MessageHandler.collect_additional_contextg   s"   € ô �l¤D×)Ò)Ø�N‰N˜<Ö(ñ *r   r   )Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Ú	__slots__r   r!   r.   r5   Ú__static_attributes__Ú__classdictcell__Ú__classcell__)r#   r   s   @@r   r   r   $   s:   ù‡ € ñ%ðN €Ið +÷		
õ 	
÷ð ÷	)÷ 	)ð 	)r   r   N)r;   Útypingr   r   r   Útelegramr   Útelegram._utils.defaultvaluer   Útelegram._utils.typesr   Útelegram.extr	   r   Ú"telegram.ext._handlers.basehandlerr
   Útelegram.ext._utils.typesr   r   r   r   r   © r   r   Ú<module>rH      sJ   ðñ& 5ç .Ñ .å Ý 5Ý (Ý 2Ý :ß :çÝ(áˆTƒ]€ôL)�[ ¨¨b Õ1ö L)r   