diff --git a/telebot/async_telebot.py b/telebot/async_telebot.py index 569c1d96f..1ae0de574 100644 --- a/telebot/async_telebot.py +++ b/telebot/async_telebot.py @@ -755,7 +755,7 @@ def setup_middleware(self, middleware: BaseMiddleware): Take a look at the :class:`telebot.asyncio_handler_backends.BaseMiddleware` section for more. :param middleware: Middleware-class. - :type middleware: :class:`telebot.middlewares.BaseMiddleware` + :type middleware: :class:`telebot.asyncio_handler_backends.BaseMiddleware` :return: None """