diff --git a/setup.py b/setup.py index eb1c9ee..5552a43 100644 --- a/setup.py +++ b/setup.py @@ -27,7 +27,11 @@ setup(name='pyTelegramBotAPI', 'json': 'ujson', 'PIL': 'Pillow', 'redis': 'redis>=3.4.1', + 'aioredis': 'aioredis', 'aiohttp': 'aiohttp', + 'flask': 'flask', + 'fastapi': 'fastapi', + 'uvicorn': 'uvicorn', }, classifiers=[ 'Development Status :: 5 - Production/Stable', diff --git a/telebot/extensions/webhooks.py b/telebot/extensions/webhooks.py index 9f44c48..1d3d7db 100644 --- a/telebot/extensions/webhooks.py +++ b/telebot/extensions/webhooks.py @@ -152,7 +152,7 @@ class AsyncWebhookListener: self.app.add_api_route(endpoint=self.process_update,path= self._url_path, methods=["POST"]) - async def process_update(self, request: fastapi.Request): + async def process_update(self, request): """ Processes updates. """