Add sphinx with converting part of pages

This commit is contained in:
Alex Root Junior 2020-06-15 02:22:24 +03:00
parent 3aa68a93d1
commit f68960ca87
192 changed files with 6123 additions and 350 deletions

View file

@ -0,0 +1,54 @@
#################
answerInlineQuery
#################
Use this method to send answers to an inline query. On success, True is returned.
No more than 50 results per query are allowed.
Returns: :obj:`bool`
.. automodule:: aiogram.api.methods.answer_inline_query
:members:
Usage
=====
As bot method
-------------
.. code-block::
result: bool = await bot.answer_inline_query(...)
Method as object
----------------
Imports:
- :code:`from aiogram.methods import AnswerInlineQuery`
- :code:`from aiogram.api.methods import AnswerInlineQuery`
- :code:`from aiogram.api.methods.answer_inline_query import AnswerInlineQuery`
In handlers with current bot
----------------------------
.. code-block::
result: bool = await AnswerInlineQuery(...)
With specific bot
~~~~~~~~~~~~~~~~~
.. code-block::
result: bool = await bot(AnswerInlineQuery(...))
As reply into Webhook in handler
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. code-block::
return AnswerInlineQuery(...)