mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Fixed typo
This commit is contained in:
parent
d8e73dd35c
commit
cce4b18607
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ Dispatcher
|
|||
from now if you want to get current bot instance inside handlers or filters you should
|
||||
accept the argument :code:`bot: Bot` and use it instead of :code:`Bot.get_current()`
|
||||
Inside middlewares it can be accessed via :code:`data["bot"]`.
|
||||
- Now to skip pending updates, you should call the `deleteWebhook <https://docs.aiogram.dev/en/dev-3.x/api/methods/delete_webhook.html>`_ method directly instead of passing :code:`skip_updates=True` to start polling method.
|
||||
- Now to skip pending updates, you should call the :class:`aiogram.methods.delete_webhook.DeleteWebhook` method directly instead of passing :code:`skip_updates=True` to start polling method.
|
||||
|
||||
|
||||
Filtering events
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue