The Telegram integration allows Botpress chatbots and AI agents to communicate with users on Telegram through the official Telegram Bot API. It enables two-way real-time messaging, supporting text, media, buttons, and interactive commands within private chats or groups.
Under the hood, the integration uses Telegraf—a robust Node.js framework—to manage message routing, commands, and events from Telegram. Messages sent by your AI agent are automatically formatted from Markdown into Telegram’s supported HTML syntax, ensuring perfect rendering of text, links, and formatting.
With built-in utilities for message sanitization and typing indicators, this integration ensures clean, secure, and responsive communication experiences for end users. Developers can use it to automate updates, handle tickets, or extend their chatbots into Telegram communities with minimal setup.