(20241206) Webhook setup for Telegram.
This commit is contained in:
@@ -221,7 +221,7 @@ async def callback_test(
|
|||||||
# print("TG BOT:", json.to_string(client_response))
|
# print("TG BOT:", json.to_string(client_response))
|
||||||
client_response = await set_telegram_webhook(
|
client_response = await set_telegram_webhook(
|
||||||
bot_token = inbound_data.auth.botToken,
|
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"
|
return "ok"
|
||||||
|
|||||||
Reference in New Issue
Block a user