Update app.py
Browse files
app.py
CHANGED
|
@@ -63,7 +63,7 @@ async def set_webhook():
|
|
| 63 |
This should be called after deploying the bot to ensure Telegram sends updates to the correct endpoint.
|
| 64 |
"""
|
| 65 |
# Construct the webhook URL using the SPACE_ID environment variable
|
| 66 |
-
webhook_url = f"https://
|
| 67 |
# Telegram API URL to set the webhook
|
| 68 |
set_webhook_url = f"https://api.telegram.org/bot{TELEGRAM_BOT_TOKEN}/setWebhook"
|
| 69 |
# Payload containing the webhook URL and the secret token for security
|
|
|
|
| 63 |
This should be called after deploying the bot to ensure Telegram sends updates to the correct endpoint.
|
| 64 |
"""
|
| 65 |
# Construct the webhook URL using the SPACE_ID environment variable
|
| 66 |
+
webhook_url = f"https://dynstat-test2.hf.space/webhook"
|
| 67 |
# Telegram API URL to set the webhook
|
| 68 |
set_webhook_url = f"https://api.telegram.org/bot{TELEGRAM_BOT_TOKEN}/setWebhook"
|
| 69 |
# Payload containing the webhook URL and the secret token for security
|