mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 12:04:51 +00:00
Update send_inline_bot_result return type hint
Signed-off-by: wulan17 <wulan17@nusantararom.org>
This commit is contained in:
parent
cb7ba4f821
commit
3163030574
1 changed files with 2 additions and 2 deletions
|
|
@ -31,7 +31,7 @@ class SendInlineBotResult:
|
|||
disable_notification: bool = None,
|
||||
message_thread_id: int = 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`
|
||||
|
||||
|
|
@ -57,7 +57,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…
Reference in a new issue