From 573e13a17bd7743d74a8139c5ff0c55229461b59 Mon Sep 17 00:00:00 2001 From: Kostiantyn Kriuchkov <36363097+Latand@users.noreply.github.com> Date: Fri, 15 Sep 2023 11:49:48 +0300 Subject: [PATCH] Update migration_2_to_3.rst Co-authored-by: Oleg A. --- 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 3251e664..1a4650dc 100644 --- a/docs/migration_2_to_3.rst +++ b/docs/migration_2_to_3.rst @@ -54,7 +54,7 @@ Filtering events You must specify them explicitly if you wish to use them. For example instead of using :code:`@dp.message_handler(content_types=ContentType.PHOTO)` you should use :code:`@router.message(F.photo)` -- Most common filters have been replaced by the "magic filter." (:ref:`Read more » `) +- Most common filters have been replaced with the "magic filter." (:ref:`Read more » `) - By default, the message handler now receives any content type. If you want a specific one, simply add the appropriate filters (Magic or any other). - The state filter is no longer enabled by default. This means that if you used :code:`state="*"`