mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-22 09:57:19 +00:00
Update send_inline_bot_result return type hint
This commit is contained in:
parent
96ffc7efcd
commit
787eabd940
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user