| name | telegram-send |
| description | Send a message to a Telegram chat via the Telegram Bot API |
| metadata | {"CARNELIAN":{"emoji":"✈️","requires":{"env":["TELEGRAM_BOT_TOKEN"]},"primaryEnv":"TELEGRAM_BOT_TOKEN"},"carnelian":{"runtime":"node","version":"1.0.0","sandbox":{"network":"full","resourceLimits":{"maxMemoryMB":128,"maxCpuPercent":25,"timeoutSecs":15},"env":{"TELEGRAM_BOT_TOKEN":"${TELEGRAM_BOT_TOKEN}"}},"capabilities":["net.http"]}} |
telegram-send
Send a message to a Telegram chat via the Telegram Bot API.
Ported from CARNELIAN telegram-actions.ts.
Input
{
to: string;
content: string;
replyToMessageId?: number;
messageThreadId?: number;
silent?: boolean;
}
Output
{
ok: true;
messageId: number;
chatId: number;
}
Notes
- Supports chat IDs (numeric) or usernames (string starting with @)
- Messages are sent with HTML parse mode enabled
- For full action surface (edit, delete, pin, etc.), reference CARNELIAN
telegram-actions.ts
- Bot must have permission to send messages in the target chat