From 65810d6011161f619eedb2b192277dcfcb856b95 Mon Sep 17 00:00:00 2001 From: Kostiantyn Kriuchkov <36363097+Latand@users.noreply.github.com> Date: Fri, 15 Sep 2023 17:33:52 +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 55483e84..0eeef2bf 100644 --- a/docs/migration_2_to_3.rst +++ b/docs/migration_2_to_3.rst @@ -34,7 +34,7 @@ Dispatcher - With routes, you can easily modularize your code and potentially share these modules between projects. - Removed the **_handler** suffix from all event handler decorators and registering methods. (:ref:`Read more ยป `) -- The Executor has been entirely removed; you can now use the Dispatcher directly to start polling or handle webhooks. +- The Executor has been entirely removed; you can now use the Dispatcher directly to start poll the API or handle webhooks from it. - The throttling method has been completely removed; you can now use middlewares to control the execution context and implement any throttling mechanism you desire. - Removed global context variables from the API types, Bot and Dispatcher object,