+
    rpÐjÇ  ã                   óŒ   € R 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Ht  ! R R]	]]]3,          4      tR	# )
z2This module contains the PaidMediaPurchased class.)ÚUpdate)ÚDEFAULT_TRUE)ÚSCTÚDVType)ÚBaseHandler)Úparse_chat_idÚparse_username)ÚCCTÚRTÚHandlerCallbackc                   ó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# )ÚPaidMediaPurchasedHandlera  Handler class to handle Telegram
:attr:`purchased paid media <telegram.Update.purchased_paid_media>`.

.. versionadded:: 21.6

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"PaidMediaPurchasedHandler[CCT, RT]ÚcallbackÚuser_idNÚusernameÚblock)	r   r   r	   r
   r   ÚintÚstrr   Úbool)ÚformatÚ__classdict__s   "€Úb/opt/hermes/.venv/lib/python3.14/site-packages/telegram/ext/_handlers/paidmediapurchasedhandler.pyÚ__annotate__Ú&PaidMediaPurchasedHandler.__annotate__@   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    Ú"PaidMediaPurchasedHandler.__init__@   s-   ø€ ô 	‰Ñ˜ÐÔ/ä& wÓ/ˆŒÜ(¨Ó2ˆŽr   c                ó&   <€ V ^8„  d   QhRS[ RS[/# )r   ÚupdateÚreturn)Úobjectr   )r   r   s   "€r   r   r   L   s   ø€ ÷ Qñ Q¡6ð Q©dñ Qr   c                ó^  € \        V\        4      '       d   VP                  '       g   R# V P                  '       g   V P                  '       g   R# VP                  P
                  P                  V P                  9   d   R# VP                  P
                  P                  V P                  9   # )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`

FT)Ú
isinstancer   Úpurchased_paid_mediar!   r"   Ú	from_userÚidr   )r   r&   s   &&r   Úcheck_updateÚ&PaidMediaPurchasedHandler.check_updateL   su   € ô ˜&¤&×)Ò)°×1L×1LÐ1LÙà�~�~ˆ~ d§o§o oÙØ×&Ñ&×0Ñ0×3Ñ3°t·~±~ÔEÙØ×*Ñ*×4Ñ4×=Ñ=ÀÇÁÑPÐPr   )r!   r"   )Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Ú	__slots__r   r    r.   Ú__static_attributes__Ú__classdictcell__Ú__classcell__)r#   r   s   @@r   r   r      s8   ù‡ € ñð:€Ið $(Ø$(Ø*÷
3õ 
3÷Q÷ Qð Qr   r   N)r4   Ú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>r@      s:   ðñ& 9å Ý 5ß -Ý :ß Mß >Ñ >ô@Q ¨F°C¸¨OÕ <ö @Qr   