From 787eabd940aa1439086b67fc96cb922fe12ef24e 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 --- 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 0f318806..f29d8eb9 100644 --- a/pyrogram/methods/bots/send_inline_bot_result.py +++ b/pyrogram/methods/bots/send_inline_bot_result.py @@ -30,7 +30,7 @@ class SendInlineBotResult: result_id: str, disable_notification: bool = 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` @@ -56,7 +56,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