Skip to content

Commit 787eabd

Browse files
committed
Update send_inline_bot_result return type hint
1 parent 96ffc7e commit 787eabd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pyrogram/methods/bots/send_inline_bot_result.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ async def send_inline_bot_result(
3030
result_id: str,
3131
disable_notification: bool = None,
3232
reply_to_message_id: int = None
33-
):
33+
) -> "raw.base.Updates":
3434
"""Send an inline bot result.
3535
Bot results can be retrieved using :meth:`~pyrogram.Client.get_inline_bot_results`
3636
@@ -56,7 +56,7 @@ async def send_inline_bot_result(
5656
If the message is a reply, ID of the original message.
5757
5858
Returns:
59-
:obj:`~pyrogram.types.Message`: On success, the sent inline result message is returned.
59+
:obj:`~pyrogram.raw.base.Updates`: Currently, on success, a raw result is returned.
6060
6161
Example:
6262
.. code-block:: python

0 commit comments

Comments
 (0)