MatteoScript commited on
Commit
16e57e0
·
verified ·
1 Parent(s): 2f47473

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
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)