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,52 @@
#############
deleteWebhook
#############
Use this method to remove webhook integration if you decide to switch back to getUpdates. Returns True on success. Requires no parameters.
Returns: :obj:`bool`
.. automodule:: aiogram.api.methods.delete_webhook
:members:
Usage
=====
As bot method
-------------
.. code-block::
result: bool = await bot.delete_webhook(...)
Method as object
----------------
Imports:
- :code:`from aiogram.methods import DeleteWebhook`
- :code:`from aiogram.api.methods import DeleteWebhook`
- :code:`from aiogram.api.methods.delete_webhook import DeleteWebhook`
In handlers with current bot
----------------------------
.. code-block::
result: bool = await DeleteWebhook(...)
With specific bot
~~~~~~~~~~~~~~~~~
.. code-block::
result: bool = await bot(DeleteWebhook(...))
As reply into Webhook in handler
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. code-block::
return DeleteWebhook(...)