Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ async def telegram_webhook(request: Request):
|
|
19 |
def home():
|
20 |
return {"message": "Bot is running via webhook"}
|
21 |
|
22 |
-
@
|
23 |
def start_command(message):
|
24 |
bot.reply_to(message, "Hello! I'm running via FastAPI webhook!")
|
25 |
|
|
|
19 |
def home():
|
20 |
return {"message": "Bot is running via webhook"}
|
21 |
|
22 |
+
@bot.message_handler(commands=["start"])
|
23 |
def start_command(message):
|
24 |
bot.reply_to(message, "Hello! I'm running via FastAPI webhook!")
|
25 |
|