API by router
Telegram webhook
Receive Telegram Webhook
Receive a Telegram webhook update and forward to the agent instance.
This endpoint is PUBLIC — Telegram's servers call it. Authentication is via the X-Telegram-Bot-Api-Secret-Token header, which we set when registering the webhook and verify here.
"I have a very particular set of skills." — Bryan Mills, Taken (about verifying webhook secrets)
Path Parameters
instance_idInstance Id
Response Body
curl -X POST "https://loading/hooks/telegram/string"null{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}