Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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)
|