From 3163030574a435b6c2944ef04fa7860e1360c281 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Sun, 26 Feb 2023 11:08:27 +0100 Subject: [PATCH] Update send_inline_bot_result return type hint Signed-off-by: wulan17 --- pyrogram/methods/bots/send_inline_bot_result.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyrogram/methods/bots/send_inline_bot_result.py b/pyrogram/methods/bots/send_inline_bot_result.py index 351f9fdc..0df09388 100644 --- a/pyrogram/methods/bots/send_inline_bot_result.py +++ b/pyrogram/methods/bots/send_inline_bot_result.py @@ -31,7 +31,7 @@ class SendInlineBotResult: disable_notification: bool = None, message_thread_id: int = None, reply_to_message_id: int = None - ): + ) -> "raw.base.Updates": """Send an inline bot result. Bot results can be retrieved using :meth:`~pyrogram.Client.get_inline_bot_results` @@ -57,7 +57,7 @@ class SendInlineBotResult: If the message is a reply, ID of the original message. Returns: - :obj:`~pyrogram.types.Message`: On success, the sent inline result message is returned. + :obj:`~pyrogram.raw.base.Updates`: Currently, on success, a raw result is returned. Example: .. code-block:: python