From cce4b18607876e69f068962d9022abacb0bfdd59 Mon Sep 17 00:00:00 2001 From: nullmatawasoradesu <119107850+wakaree@users.noreply.github.com> Date: Mon, 7 Aug 2023 14:14:47 +0300 Subject: [PATCH] Fixed typo --- docs/migration_2_to_3.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/migration_2_to_3.rst b/docs/migration_2_to_3.rst index a73885fe..483f4f8d 100644 --- a/docs/migration_2_to_3.rst +++ b/docs/migration_2_to_3.rst @@ -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 `_ 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