mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-07 21:44:57 +03:00
update docs/extras/examples/bots links
This commit is contained in:
parent
e69c186782
commit
ae3957e843
|
@ -13,7 +13,7 @@ Talking to Inline Bots
|
||||||
|
|
||||||
You can query an inline bot, such as `@VoteBot`__ (note, *query*,
|
You can query an inline bot, such as `@VoteBot`__ (note, *query*,
|
||||||
not *interact* with a voting message), by making use of the
|
not *interact* with a voting message), by making use of the
|
||||||
`GetInlineBotResultsRequest`__ request:
|
:tl:`GetInlineBotResultsRequest` request:
|
||||||
|
|
||||||
.. code-block:: python
|
.. code-block:: python
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ not *interact* with a voting message), by making use of the
|
||||||
))
|
))
|
||||||
|
|
||||||
And you can select any of their results by using
|
And you can select any of their results by using
|
||||||
`SendInlineBotResultRequest`__:
|
:tl:`SendInlineBotResultRequest`:
|
||||||
|
|
||||||
.. code-block:: python
|
.. code-block:: python
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@ Talking to Bots with special reply markup
|
||||||
*****************************************
|
*****************************************
|
||||||
|
|
||||||
To interact with a message that has a special reply markup, such as
|
To interact with a message that has a special reply markup, such as
|
||||||
`@VoteBot`__ polls, you would use `GetBotCallbackAnswerRequest`__:
|
`@VoteBot`__ polls, you would use :tl:`GetBotCallbackAnswerRequest`:
|
||||||
|
|
||||||
.. code-block:: python
|
.. code-block:: python
|
||||||
|
|
||||||
|
@ -58,7 +58,4 @@ show it visually (button rows, and buttons within each row, each with
|
||||||
its own data).
|
its own data).
|
||||||
|
|
||||||
__ https://t.me/vote
|
__ https://t.me/vote
|
||||||
__ https://lonamiwebs.github.io/Telethon/methods/messages/get_inline_bot_results.html
|
|
||||||
__ https://lonamiwebs.github.io/Telethon/methods/messages/send_inline_bot_result.html
|
|
||||||
__ https://lonamiwebs.github.io/Telethon/methods/messages/get_bot_callback_answer.html
|
|
||||||
__ https://t.me/vote
|
__ https://t.me/vote
|
||||||
|
|
Loading…
Reference in New Issue
Block a user