Ë
    t½Õjé  ã                   óX   — d dl m Z  d dlmZmZ d dlZd dlmZmZ d dlmZ  G d„ d«      Zy)é    )Údatetime)ÚUnionÚOptionalN)ÚrawÚutils)Útypesc                   ó\   — e Zd Z	 	 	 	 	 	 ddddeeef   dedededed	ed
ed   ded   fd„Z	y)ÚSendDiceNÚselfzpyrogram.ClientÚchat_idÚemojiÚdisable_notificationÚreply_to_message_idÚschedule_dateÚprotect_contentÚreply_markup)ztypes.InlineKeyboardMarkupztypes.ReplyKeyboardMarkupztypes.ReplyKeyboardRemoveztypes.ForceReplyÚreturnztypes.Messagec              ƒ   óÂ  K  — | j                  t        j                  j                  j	                  | j                  |«      ƒ d{  –—† t        j                  j                  |¬«      |xs d|| j                  «       t        j                  |«      ||r|j                  | «      ƒ d{  –—† ndd¬«	      «      ƒ d{  –—† }|j                  D ]ù  }	t        |	t        j                  j                  t        j                  j                  t        j                  j                   f«      sŒ[t        j"                  j%                  | |	j&                  |j(                  D �	ci c]  }	|	j*                  |	“Œ c}	|j,                  D �	ci c]  }	|	j*                  |	“Œ c}	t        	t        j                  j                   «      ¬«      ƒ d{  –—† c S  y7 �Œ…7 �Œ%7 �Œc c}	w c c}	w 7 Œ­w)u­  Send a dice with a random value from 1 to 6.

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

        Parameters:
            chat_id (``int`` | ``str``):
                Unique identifier (int) or username (str) of the target chat.
                For your personal cloud (Saved Messages) you can simply use "me" or "self".
                For a contact that exists in your Telegram address book you can use his phone number (str).

            emoji (``str``, *optional*):
                Emoji on which the dice throw animation is based.
                Currently, must be one of "ðŸŽ²", "ðŸŽ¯", "ðŸ�€", "âš½", "ðŸŽ³", or "ðŸŽ°".
                Dice can have values 1-6 for "ðŸŽ²", "ðŸŽ¯" and "ðŸŽ³", values 1-5 for "ðŸ�€" and "âš½", and
                values 1-64 for "ðŸŽ°".
                Defaults to "ðŸŽ²".

            disable_notification (``bool``, *optional*):
                Sends the message silently.
                Users will receive a notification with no sound.

            reply_to_message_id (``int``, *optional*):
                If the message is a reply, ID of the original message.

            schedule_date (:py:obj:`~datetime.datetime`, *optional*):
                Date when the message will be automatically sent.

            protect_content (``bool``, *optional*):
                Protects the contents of the sent message from forwarding and saving.

            reply_markup (:obj:`~pyrogram.types.InlineKeyboardMarkup` | :obj:`~pyrogram.types.ReplyKeyboardMarkup` | :obj:`~pyrogram.types.ReplyKeyboardRemove` | :obj:`~pyrogram.types.ForceReply`, *optional*):
                Additional interface options. An object for an inline keyboard, custom reply keyboard,
                instructions to remove reply keyboard or to force a reply from the user.

        Returns:
            :obj:`~pyrogram.types.Message`: On success, the sent dice message is returned.

        Example:
            .. code-block:: python

                # Send a dice
                await app.send_dice(chat_id)

                # Send a dart
                await app.send_dice(chat_id, "ðŸŽ¯")

                # Send a basketball
                await app.send_dice(chat_id, "ðŸ�€")
        N)ÚemoticonÚ )	ÚpeerÚmediaÚsilentÚreply_to_msg_idÚ	random_idr   Ú
noforwardsr   Úmessage)Úis_scheduled)Úinvoker   Ú	functionsÚmessagesÚ	SendMediaÚresolve_peerr   ÚInputMediaDiceÚrnd_idr   Údatetime_to_timestampÚwriteÚupdatesÚ
isinstanceÚUpdateNewMessageÚUpdateNewChannelMessageÚUpdateNewScheduledMessageÚMessageÚ_parser   ÚusersÚidÚchats)
r   r   r   r   r   r   r   r   ÚrÚis
             ú]/root/FB SCRAP HARRY/venv/lib/python3.12/site-packages/pyrogram/methods/messages/send_dice.pyÚ	send_dicezSendDice.send_dice   s~  è ø€ ðB —+‘+Ü�M‰M×"Ñ"×,Ñ,Ø×,Ñ,¨WÓ5×5Ü—i‘i×.Ñ.¸Ð.Ó>Ø+Ò3¨tØ 3ØŸ+™+›-Ü#×9Ñ9¸-ÓHØ*Ù?K <×#5Ñ#5°dÓ#;×;Ð;ÐQUØð -ó 
ó
÷ 
ˆð —‘ò 		ˆAÜ˜!œcŸi™i×8Ñ8Ü!Ÿi™i×?Ñ?Ü!Ÿi™i×AÑAðCõ Dô #Ÿ]™]×1Ñ1Ø˜!Ÿ)™)Ø&'§g¡gÖ. �Q—T‘T˜1‘WÒ.Ø&'§g¡gÖ. �Q—T‘T˜1‘WÒ.Ü!+¨A¬s¯y©y×/RÑ/RÓ!Sð	 2ó ÷ ò ñ			ð 6ùð <ùð
ûò( /ùÚ.ðúsh   ‚AGÁG
ÁA"GÂ(GÂ)GÂ<GÂ=A*GÄ(3GÅGÅ/GÅ?GÆ.GÇGÇ	GÇGÇGÇG)u   ðŸŽ²NNNNN)
Ú__name__Ú
__module__Ú__qualname__r   ÚintÚstrÚboolr   r   r5   © ó    r4   r
   r
      s”   „ ð Ø%)Ø#'Ø"&Ø $ð ñXØðXà�s˜C�x‘ðXð ðXð #ð	Xð
 !ðXð  ðXð ðXð ðñ
ðXð 
�/Ñ	"ôXr=   r
   )	r   Útypingr   r   Úpyrogramr   r   r   r
   r<   r=   r4   ú<module>r@      s"   ðõ& ß "ã ß Ý ÷Yò Yr=   