mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-07 23:44:51 +00:00
Update send_inline_bot_result return type hint
This commit is contained in:
parent
96ffc7efcd
commit
787eabd940
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue