diff --git a/main.py b/main.py index 2fb270c..15a4da7 100644 --- a/main.py +++ b/main.py @@ -2,6 +2,7 @@ import uvicorn from sarufi import Sarufi from dataclasses import dataclass +from mangum import Mangum from telegram import ( Update, @@ -29,6 +30,8 @@ app = FastAPI() +handler = Mangum(app) + load_dotenv() # Set up Sarufi and get bot's name