Ë
    :É„j  ã                   ó<   — d dl mZ d dlZd dlmZmZ  G d„ d«      Zy)é    )ÚUnionN)ÚrawÚtypesc                   ó:   — e Zd Z	 ddddeeef   dedededd	fd
„Zy)ÚSendPaidReactionNÚselfzpyrogram.ClientÚchat_idÚ
message_idÚamountÚ	anonymousÚreturnztypes.MessageReactionsc           	   ƒ   óR  K  — | j                  t        j                  j                  j	                  | j                  |«      ƒ d{  –—† ||| j                  «       |¬«      «      ƒ d{  –—† }|j                  D �ci c]  }|j                  |“Œ }}|j                  D �ci c]  }|j                  |“Œ }}|j                  D ]T  }t        |t        j                  j                  «      sŒ(t        j                  j                  | |j                   ||«      c S  y7 ŒÓ7 Œ²c c}w c c}w ­w)a  Use this method to send paid reactions on a channel message.

        .. include:: /_includes/usable-by/users.rst

        Parameters:
            chat_id (``int`` | ``str``):
                Unique identifier (int) or username (str) of the target chat.
                You can also use chat public link in form of *t.me/<username>* (str).

            message_id (``int``):
                Identifier of the target message. If the message belongs to a media group, the reaction is set to the first non-deleted message in the group instead.

            amount (``int``):
                Amount of stars to send.

            anonymous (``bool``, *optional*):
                Pass True to hide yourself from top senders list.

        Returns:
            :obj:`~pyrogram.types.MessageReactions`: On success, MessageReactions is returned.

        Example:
            .. code-block:: python

                # Send a paid reaction
                await app.send_paid_reaction(chat_id, message_id=message_id, amount=5)
        N)ÚpeerÚmsg_idÚcountÚ	random_idÚprivate)Úinvoker   Ú	functionsÚmessagesr   Úresolve_peerÚrnd_idÚusersÚidÚchatsÚupdatesÚ
isinstancer   ÚUpdateMessageReactionsÚMessageReactionsÚ_parseÚ	reactions)	r   r	   r
   r   r   ÚrÚir   r   s	            úc/var/www/html/GAP/venv/lib/python3.12/site-packages/pyrogram/methods/payments/send_paid_reaction.pyÚsend_paid_reactionz#SendPaidReaction.send_paid_reaction   sù   è ø€ ðD —+‘+Ü�M‰M×"Ñ"×3Ñ3Ø×,Ñ,¨WÓ5×5Ø!ØØŸ+™+›-Ø!ð 4ó ó
÷ 
ˆð #$§'¡'Ö*˜Q�—‘�q‘Ð*ˆÐ*Ø"#§'¡'Ö*˜Q�—‘�q‘Ð*ˆÐ*à—‘ò 	VˆAÜ˜!œSŸY™Y×=Ñ=Õ>Ü×-Ñ-×4Ñ4°T¸1¿;¹;ÈÈuÓUÒUñ	Vð 6øð
úò +ùÚ*ùsH   ‚AD'ÁDÁ"D'Á(DÁ)D'Á;DÂD'ÂD"Â35D'Ã)1D'ÄD'Ä
D')N)Ú__name__Ú
__module__Ú__qualname__r   ÚintÚstrÚboolr%   © ó    r$   r   r      sS   „ ð ñ0VØð0Và�s˜C�x‘ð0Vð ð0Vð ð	0Vð
 ð0Vð 
"ô0Vr-   r   )Útypingr   Úpyrogramr   r   r   r,   r-   r$   ú<module>r0      s   ðõ( ã ß ÷1Vò 1Vr-   