Update send_inline_bot_result return type hint

Signed-off-by: wulan17 <wulan17@nusantararom.org>
This commit is contained in:
Dan 2023-02-26 11:08:27 +01:00 committed by wulan17
parent cb7ba4f821
commit 3163030574
No known key found for this signature in database
GPG key ID: 318CD6CD3A6AC0A5

View file

@ -31,7 +31,7 @@ class SendInlineBotResult:
disable_notification: bool = None, disable_notification: bool = None,
message_thread_id: int = None, message_thread_id: int = 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`
@ -57,7 +57,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