Telegram Integration for AI Agents
Connect your AI agent to 38 QA'd Telegram actions via MCP, A2A, or SDK, with agent authentication, tool-calling execution, and security built-in, plus 28 events to subscribe to.
Telegram AI Agent Actions
38 production-ready actions for your agent to do more on Telegram.
Telegram Webhook Events
28 real-time Telegram events your AI agent can subscribe to.
- Active Check Responds with 200 OK to any Telegram webhook delivery that does not carry a recognized update type.
- Message Fired when the bot receives a new message of any kind (text, photo, sticker, document, etc.) in a private chat, group, or supergroup.
- Edited Message Fired when a message known to the bot is edited.
- Channel Post Fired when a new post is published in a channel where the bot is an administrator.
- Edited Channel Post Fired when a channel post known to the bot is edited.
- Business Connection Fired when the bot is connected to or disconnected from a Telegram Business account, or the connection is edited.
- Business Message Fired when a connected Telegram Business account receives a new message.
- Edited Business Message Fired when a message in a connected Telegram Business account is edited.
- Deleted Business Messages Fired when messages are deleted from a connected Telegram Business account.
- Guest Message Fired when the bot receives a new guest message.
- Message Reaction Fired when a user changes their reaction to a message in a chat where the bot is an administrator.
- Message Reaction Count Fired when anonymous reaction counts on a message change in a chat where the bot is an administrator.
- Inline Query Fired when a user types an inline query addressed to the bot (@botname query).
- Chosen Inline Result Fired when a user picks one of the bot's inline query results and sends it to a chat.
- Callback Query Fired when a user presses an inline keyboard button attached to one of the bot's messages.
- Shipping Query Fired when a user enters a shipping address for an invoice with a flexible price.
- Pre-Checkout Query Fired when a user confirms payment and Telegram asks the bot to approve the checkout.
- Purchased Paid Media Fired when a user purchases paid media with a non-empty payload that the bot sent in a non-channel chat.
- Poll Fired when the state of a poll changes — only for polls sent by the bot and polls that are manually stopped.
- Poll Answer Fired when a user changes their answer in a non-anonymous poll sent by the bot.
- My Chat Member Fired when the bot's own member status changes in a chat (added, removed, promoted, or blocked).
- Chat Member Fired when a member's status changes in a chat where the bot is an administrator (joined, left, promoted, restricted, or banned).
- Chat Join Request Fired when a user requests to join a chat where the bot can approve join requests.
- Chat Boost Fired when a boost is added to or changed in a chat where the bot is an administrator.
- Removed Chat Boost Fired when a boost is removed from a chat where the bot is an administrator.
- Managed Bot Fired when a new bot is created to be managed by this bot, or a managed bot's token or owner changes.
- Subscription Fired when a user's payment subscription to the bot changes.
- Stopped Message Generation Fired when a user asks the bot to stop generating a message.
Do More, Build Less
Integration Infrastructure for Telegram AI Agents
"What impressed us most about StackOne is its ambition and clarity. They're creating infrastructure that modern software and the entire AI agent ecosystem can rely on. The depth of secure integrations, the pace of delivery, and the team's foresight into AI's future uniquely position StackOne to redefine this category."
Luna Schmid, Partner at GV
"We've been impressed by how quickly and deeply StackOne integrates with complex enterprise systems -- and now, with their focus on agent-to-agent interoperability, they're unlocking even more powerful use cases for customers. StackOne delivers all of the above in a universal layer -- without compromise."
Barbry McGann, SVP at Workday Ventures
Telegram AI agent integration resources
Webhooks for AI agents: why agentic workflows need them purpose-built
AI agents can act the moment a system changes, using webhooks. But webhooks built for software hit three limits in agentic workflows. Here is how to fix each.
7 min read
Agentic Context Engineering: Why AI Agents Kill Their Own Context Windows
AI agents exceed their context windows without knowing it. Six failure patterns and seven survival architectures for agentic context engineering.
15 min
MCP Code Mode: Keeping Tool Responses Out of Agent Context
Anthropic's code_execution processes data already in context. Custom MCP code mode keeps raw tool responses in a sandbox. 14K tokens vs 500.
11 min
Comparing BM25, TF-IDF, and Hybrid Search for MCP Tool Discovery
Benchmarking BM25, TF-IDF, and hybrid search for MCP tool discovery across 916 tools. The 80/20 TF-IDF/BM25 hybrid hits 21% Top-1 accuracy in under 1ms.
10 min
Put your AI agents to work
All the tools you need to build and scale AI agent integrations, with best-in-class connectivity, execution, and security.