From ebe456a8fe76415b5407e691bb90ab7d8d38125f Mon Sep 17 00:00:00 2001 From: khushal Date: Fri, 6 Dec 2024 10:43:02 +0530 Subject: [PATCH] (20241206) Webhook setup for Telegram. --- api/blueprints/chat/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/blueprints/chat/auth.py b/api/blueprints/chat/auth.py index 92fea31..537943c 100644 --- a/api/blueprints/chat/auth.py +++ b/api/blueprints/chat/auth.py @@ -221,7 +221,7 @@ async def callback_test( # print("TG BOT:", json.to_string(client_response)) client_response = await set_telegram_webhook( bot_token = inbound_data.auth.botToken, - webhook_url = r"https://nexcom.ditscentre.in/test/callback" + webhook_url = f"https://nexcom.ditscentre.in/chat/webhook/{inbound_data.auth.botToken}" ) return "ok"