Ë
    :É„jH  ã                   óH   — d dl mZ d dlZd dlmZ d dlmZmZ  G d„ d«      Zy)é    )ÚUnionN)Úraw)ÚtypesÚutilsc                   óf   — 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ededed   ddfd„Zy)ÚSendGameNÚselfzpyrogram.ClientÚchat_idÚgame_short_nameÚdisable_notificationÚmessage_thread_idÚbusiness_connection_idÚreply_to_message_idÚprotect_contentÚallow_paid_broadcastÚmessage_effect_idÚreply_markup)ztypes.InlineKeyboardMarkupztypes.ReplyKeyboardMarkupztypes.ReplyKeyboardRemoveztypes.ForceReplyÚreturnztypes.Messagec              ƒ   ó–  K  — t        j                  | |||¬«      ƒ d{  –—† }t        j                  j                  j                  | j                  |«      ƒ d{  –—† t        j                  j                  t        j                  j                  t        j                  j                  «       |¬«      ¬«      d|xs d|| j                  «       |||	|
r|
j                  | «      ƒ d{  –—† nd¬«
      }|�9| j                  t        j                  j                  ||¬«      «      ƒ d{  –—† }n| j                  |«      ƒ d{  –—† }|j                  D ]×  }t!        |t        j                  j"                  t        j                  j$                  t        j                  j&                  f«      sŒ[t        j(                  j+                  | |j,                  |j.                  D �ci c]  }|j0                  |“Œ c}|j2                  D �ci c]  }|j0                  |“Œ c}|¬«      ƒ d{  –—† c S  y7 �Œ7 �Œ×7 �ŒM7 �Œ7 Œ÷c c}w c c}w 7 Œ ­w)	uÚ  Send a game.

        .. include:: /_includes/usable-by/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).
                You can also use user profile/chat public link in form of *t.me/<username>* (str).

            game_short_name (``str``):
                Short name of the game, serves as the unique identifier for the game. Set up your games via Botfather.

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

            message_thread_id (``int``, *optional*):
                Unique identifier of a message thread to which the message belongs.
                for supergroups only

            business_connection_id (``str``, *optional*):
                Business connection identifier.
                for business bots only.

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

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

            allow_paid_broadcast (``bool``, *optional*):
                Pass True to allow the message to ignore regular broadcast limits for a small fee; for bots only

            message_effect_id (``int`` ``64-bit``, *optional*):
                Unique identifier of the message effect to be added to the message; for private chats only.

            reply_markup (:obj:`~pyrogram.types.InlineKeyboardMarkup`, *optional*):
                An object for an inline keyboard. If empty, one â€˜Play game_titleâ€™ button will be shown automatically.
                If not empty, the first button must launch the game.

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

        Example:
            .. code-block:: python

                await app.send_game(chat_id, "gamename")
        )Úclientr
   r   r   N)Úbot_idÚ
short_name)ÚidÚ )
ÚpeerÚmediaÚmessageÚsilentÚreply_toÚ	random_idÚ
noforwardsÚallow_paid_floodskipÚeffectr   )Úconnection_idÚquery)r   )r   Úget_reply_tor   Ú	functionsÚmessagesÚ	SendMediaÚresolve_peerr   ÚInputMediaGameÚInputGameShortNameÚInputUserSelfÚrnd_idÚwriteÚinvokeÚInvokeWithBusinessConnectionÚupdatesÚ
isinstanceÚUpdateNewMessageÚUpdateNewChannelMessageÚUpdateBotNewBusinessMessageÚMessageÚ_parser   Úusersr   Úchats)r	   r
   r   r   r   r   r   r   r   r   r   r   ÚrpcÚrÚis                  úV/var/www/html/GAP/venv/lib/python3.12/site-packages/pyrogram/methods/bots/send_game.pyÚ	send_gamezSendGame.send_game   sú  è ø€ ôH ×+Ñ+ØØØ 3Ø/ô	
÷ 
ˆô �m‰m×$Ñ$×.Ñ.Ø×(Ñ(¨Ó1×1Ü—)‘)×*Ñ*Ü—9‘9×/Ñ/ÜŸ9™9×2Ñ2Ó4Ø.ð 0ó ð +ó ð Ø'Ò/¨4ØØ—k‘k“mØ&Ø!5Ø$Ù;G˜|×1Ñ1°$Ó7×7Ð7ÈTð /ó 
ˆð" "Ð-Ø—k‘kÜ—‘×:Ñ:Ø"8Øð ;ó ó÷ ‰Að —k‘k #Ó&×&ˆAà—‘ò 	ˆAÜØä—I‘I×.Ñ.Ü—I‘I×5Ñ5Ü—I‘I×9Ñ9ðõô #Ÿ]™]×1Ñ1Ø˜!Ÿ)™)Ø&'§g¡gÖ. �Q—T‘T˜1‘WÒ.Ø&'§g¡gÖ. �Q—T‘T˜1‘WÒ.Ø+Að	 2ó ÷ ò ñ	ðE
ùð 2ùð 8ùðùð 'úò /ùÚ.ðúsŠ   ‚I	ŸH/ ;I	ÁH2ÁBI	Ã(H5Ã)A I	Ä)H8Ä*I	ÅH;ÅA*I	Æ/3I	Ç"H=Ç6I	ÈIÈI	È&IÈ'	I	È2I	È5I	È8I	È;I	È=I	)NNNNNNNN)Ú__name__Ú
__module__Ú__qualname__r   ÚintÚstrÚboolr?   © ó    r>   r   r      s¶   „ ð
 &*Ø!%Ø&*Ø#'Ø $Ø%)Ø!%ð ñ!tØðtà�s˜C�x‘ðtð ðtð #ð	tð
 ðtð !$ðtð !ðtð ðtð #ðtð ðtð ðñ
ðtð" 
ô#trG   r   )Útypingr   Úpyrogramr   r   r   r   rF   rG   r>   ú<module>rJ      s   ðõ( ã Ý ß !÷uò urG   