2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-22 18:07:21 +00:00

Update send_inline_bot_result return type hint

This commit is contained in:
Dan 2023-02-26 11:08:27 +01:00
parent 96ffc7efcd
commit 787eabd940

View File

@ -30,7 +30,7 @@ class SendInlineBotResult:
result_id: str, result_id: str,
disable_notification: bool = None, disable_notification: bool = None,
reply_to_message_id: int = None reply_to_message_id: int = None
): ) -> "raw.base.Updates":
"""Send an inline bot result. """Send an inline bot result.
Bot results can be retrieved using :meth:`~pyrogram.Client.get_inline_bot_results` 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. If the message is a reply, ID of the original message.
Returns: 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: Example:
.. code-block:: python .. code-block:: python