Maryaa4 commited on
Commit
ee9e6aa
·
verified ·
1 Parent(s): b1d0776

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -71,10 +71,7 @@ async def telegram_webhook(request: Request):
71
  try:
72
  requests.post(
73
  TELEGRAM_API,
74
- json={
75
- "chat_id": chat_id,
76
- "text": reply,
77
- },
78
  )
79
  except Exception as e:
80
  print("Error sending message to Telegram:", e)
 
71
  try:
72
  requests.post(
73
  TELEGRAM_API,
74
+ json={"chat_id": chat_id, "text": reply},
 
 
 
75
  )
76
  except Exception as e:
77
  print("Error sending message to Telegram:", e)