Ë
    :É„jï  ã                   ó@   — d dl mZmZ d dlZd dlmZmZ  G d„ d«      Zy)é    )ÚUnionÚOptionalN)ÚrawÚutilsc                   óL   — e Zd Z	 	 d
dddeeef   dedeeef   dee   defd	„Zy)ÚRequestCallbackAnswerNÚselfzpyrogram.ClientÚchat_idÚ
message_idÚcallback_dataÚpasswordÚtimeoutc              ƒ   ó¼  K  — t        |t        «      rt        |d«      n|}|rU| j                  t        j
                  j                  j                  «       «      ƒ d{  –—† }t        j                  ||«      }| j                  t        j
                  j                  j                  | j                  |«      ƒ d{  –—† |||¬«      d|¬«      ƒ d{  –—† S 7 Œx7 Œ7 Œ­w)aN  Request a callback answer from bots.
        This is the equivalent of clicking an inline button containing callback data.

        .. include:: /_includes/usable-by/users.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).

            message_id (``int``):
                The message id the inline keyboard is attached on.

            callback_data (``str`` | ``bytes``):
                Callback data associated with the inline button you want to get the answer from.

            password (``str``, *optional*):
                When clicking certain buttons (such as BotFather's confirmation button to transfer ownership), if your account has 2FA enabled, you need to provide your account's password.
                The 2-step verification password for the current user. Only applicable, if the :obj:`~pyrogram.types.InlineKeyboardButton` contains ``callback_data_with_password``.

            timeout (``int``, *optional*):
                Timeout in seconds.

        Returns:
            The answer containing info useful for clients to display a notification at the top of the chat screen
            or as an alert.

        Raises:
            TimeoutError: In case the bot fails to answer within 10 seconds.
            ValueError: In case of invalid arguments.
            RPCError: In case of Telegram RPC error.

        Example:
            .. code-block:: python

                await app.request_callback_answer(chat_id, message_id, "callback_data")
        zutf-8N)ÚpeerÚmsg_idÚdatar   r   )Úretriesr   )Ú
isinstanceÚstrÚbytesÚinvoker   Ú	functionsÚaccountÚGetPasswordr   Úcompute_password_checkÚmessagesÚGetBotCallbackAnswerÚresolve_peer)r	   r
   r   r   r   r   r   Úrs           úd/var/www/html/GAP/venv/lib/python3.12/site-packages/pyrogram/methods/bots/request_callback_answer.pyÚrequest_callback_answerz-RequestCallbackAnswer.request_callback_answer   sÌ   è ø€ ôb 1;¸=Ì#Ô0NŒu�] GÔ,ÐTaˆáØ—k‘kÜ—‘×%Ñ%×1Ñ1Ó3ó÷ ˆAô ×3Ñ3°A°xÓ@ˆHà—[‘[Ü�M‰M×"Ñ"×7Ñ7Ø×,Ñ,¨WÓ5×5Ø!ØØ!ð	 8ó ð Øð !ó 	
÷ 	
ð 		
ðøð 6øð	
ús7   ‚ACÁCÁACÂ:CÂ;CÃCÃCÃCÃC)Né
   )	Ú__name__Ú
__module__Ú__qualname__r   Úintr   r   r   r!   © ó    r    r   r      sc   „ ð #'ØñB
ØðB
à�s˜C�x‘ðB
ð ðB
ð ˜S %˜ZÑ(ð	B
ð
 ˜3‘-ðB
ð ôB
r(   r   )Útypingr   r   Úpyrogramr   r   r   r'   r(   r    ú<module>r+      s   ð÷( #ã ß ÷C
ò C
r(   