Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -21,7 +21,7 @@ app.add_middleware(
|
|
21 |
#https://api.telegram.org/bot6907051705:AAHZtYuiFTkQBNNw6m3cBVns8BPUw5mvxgU/setWebhook?url=https://matteoscript-TelegramBotSimple.hf.space/
|
22 |
|
23 |
@app.post("/")
|
24 |
-
def webhook(data: dict):
|
25 |
print(data)
|
26 |
print("INIZIO")
|
27 |
time.sleep(20)
|
|
|
21 |
#https://api.telegram.org/bot6907051705:AAHZtYuiFTkQBNNw6m3cBVns8BPUw5mvxgU/setWebhook?url=https://matteoscript-TelegramBotSimple.hf.space/
|
22 |
|
23 |
@app.post("/")
|
24 |
+
async def webhook(data: dict):
|
25 |
print(data)
|
26 |
print("INIZIO")
|
27 |
time.sleep(20)
|