Added a few words about skipping pending updates

This commit is contained in:
nullmatawasoradesu 2023-08-07 13:27:38 +03:00
parent 73033643e7
commit 1dc4edeace

View file

@ -40,6 +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.
Filtering events