U
    ;g
                     @   s2   d dl mZ d dlZd dlmZ G dd dZdS )    )UnionN)rawc                	   @   s0   e Zd Zddeeef eeeeddddZdS )SendInlineBotResultNzpyrogram.Clientzraw.base.Updates)selfchat_idquery_id	result_iddisable_notificationreply_to_message_idreturnc              
      s:   |  tjjj| |I dH |||  |p*d|dI dH S )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)Zpeerr   idZ	random_idZsilentZreply_to_msg_id)Zinvoker   Z	functionsmessagesr   Zresolve_peerZrnd_id)r   r   r   r   r	   r
    r   l/opt/bot/vods_filmes/script/venv/lib/python3.8/site-packages/pyrogram/methods/bots/send_inline_bot_result.pysend_inline_bot_result   s    (z*SendInlineBotResult.send_inline_bot_result)NN)__name__
__module____qualname__r   intstrboolr   r   r   r   r   r      s     
r   )typingr   Zpyrogramr   r   r   r   r   r   <module>   s   