Setup
Getting a Bot Token
- Open Telegram and message @BotFather
- Send
/newbotand follow the prompts - Copy the bot token
Configuration
Commands
Tools
The agent has access to these Telegram-specific tools when running via the plugin:- TelegramSend — Send text messages
- TelegramSendMedia — Send photos, documents, audio, video
- TelegramGetChats — List chats with message history
- TelegramReadMessages — Read message history from a chat
- TelegramGetChatInfo — Get chat metadata
Pipeline Approvals
Telegram works as a notification channel for pipeline approval gates. Settelegram as the notification plugin and use the numeric chat ID as the channel.
Chat IDs are negative for groups (e.g. -1001234567890) and positive for private chats.