Telegram
Send Telegram Message
Sends a text message to a Telegram chat or channel as your bot.
Unverified
What the model is told
Send a short message to the team's Telegram chat, for example to hand off a customer request. Write a clear summary. Do not include full card numbers, passwords or other sensitive details. Returns ok true and the sent message on success.
Request
POSThttps://api.telegram.org/botYOUR_TELEGRAM_BOT_TOKEN/sendMessage
Headers
Content-Typeapplication/json
Body
{
"chat_id": "YOUR_TELEGRAM_CHAT_ID",
"text": "{{message}}"
}Parameters
message stringThe message text, 1 to 4096 characters.
Engage payload
{
"source": "VOICE_AI",
"tool": {
"id": "d27938b3-00ca-4466-aa67-96adb465bbf9",
"type": "HTTP_REQUEST",
"label": "Send Telegram Message",
"name": "send_telegram_message",
"customName": false,
"description": "Send a short message to the team's Telegram chat, for example to hand off a customer request. Write a clear summary. Do not include full card numbers, passwords or other sensitive details. Returns ok true and the sent message on success.",
"parameters": [
{
"name": "message",
"type": "string",
"description": "The message text, 1 to 4096 characters."
}
],
"config": {
"endpoint": {
"method": "POST",
"url": "https://api.telegram.org/botYOUR_TELEGRAM_BOT_TOKEN/sendMessage"
},
"headers": [
{
"name": "Content-Type",
"value": "application/json"
}
],
"body": "{\n \"chat_id\": \"YOUR_TELEGRAM_CHAT_ID\",\n \"text\": \"{{message}}\"\n}",
"timeout": null
}
}
}IDs are regenerated on every copy.