
    N[i
                     8    d dl mZ d dlZd dlmZ  G d d      Zy)    )UnionN)rawc                   @    e Zd Z	 	 ddddeeef   dedededed	d
fdZy)SendInlineBotResultNselfzpyrogram.Clientchat_idquery_id	result_iddisable_notificationreply_to_message_idreturnzraw.base.Updatesc           
         K   | j                  t        j                  j                  j	                  | j                  |       d{   ||| j                         |xs d|             d{   S 7 ,7 w)a  Send an inline bot result.
        Bot results can be retrieved using :meth:`~pyrogram.Client.get_inline_bot_results`

        .. 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).

            query_id (``int``):
                Unique identifier for the answered query.

            result_id (``str``):
                Unique identifier for the result that was chosen.

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

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

        Returns:
            :obj:`~pyrogram.raw.base.Updates`: Currently, on success, a raw result is returned.

        Example:
            .. code-block:: python

                await app.send_inline_bot_result(chat_id, query_id, result_id)
        N)peerr	   id	random_idsilentreply_to_msg_id)invoker   	functionsmessagesr   resolve_peerrnd_id)r   r   r	   r
   r   r   s         _/var/www/files/kim/lib/python3.12/site-packages/pyrogram/methods/bots/send_inline_bot_result.pysend_inline_bot_resultz*SendInlineBotResult.send_inline_bot_result   sp     P [[MM""66,,W55!++-+3t 3 7 	
 	
 		
5	
s$   AA6A2'A6-A4.A64A6)NN)__name__
__module____qualname__r   intstrboolr        r   r   r      sY     &*#'1
1
sCx1
 1
 	1

 #1
 !1
 
1
r"   r   )typingr   pyrogramr   r   r!   r"   r   <module>r%      s   &   2
 2
r"   