mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-07 15:34:52 +00:00
Make example more readable
This commit is contained in:
parent
0c14a0aa3c
commit
9d31673f2c
1 changed files with 6 additions and 2 deletions
|
|
@ -28,8 +28,12 @@ Inline Bots
|
||||||
|
|
||||||
.. code-block:: python
|
.. code-block:: python
|
||||||
|
|
||||||
# Send the first result (bot_results.results[0]) to your own chat (Saved Messages)
|
# Send the first result to your own chat
|
||||||
app.send_inline_bot_result("me", bot_results.query_id, bot_results.results[0].id)
|
app.send_inline_bot_result(
|
||||||
|
"me",
|
||||||
|
bot_results.query_id,
|
||||||
|
bot_results.results[0].id
|
||||||
|
)
|
||||||
|
|
||||||
.. figure:: https://i.imgur.com/wwxr7B7.png
|
.. figure:: https://i.imgur.com/wwxr7B7.png
|
||||||
:width: 90%
|
:width: 90%
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue