The Telegram interface turns any Agno agent, team, or workflow into a Telegram bot with streaming responses, media handling, and group chat support.Documentation Index
Fetch the complete documentation index at: https://docs.agno.com/llms.txt
Use this file to discover all available pages before exploring further.
Quick Start
telegram_agent.py
How It Works
| Concept | Behavior |
|---|---|
| Sessions | Each chat is a session (tg:{agent}:{chat_id}). Send /new to reset. |
| Streaming | Token-by-token with live message edits, throttled for rate limits |
| Groups | Responds to @mentions and replies by default. Disable privacy mode in BotFather for all messages. |
| Media | Photos, voice, video, documents, stickers in and out |
Setup
Requires a bot token from @BotFather and a webhook URL. See the full setup guide for step-by-step instructions. Environment variables:Next Steps
Full Guide
Sessions, groups, media, commands, and troubleshooting.
Reference
All parameters, endpoints, and events.
Examples
Agents, teams, workflows, and multimodal examples.
TelegramTools
Proactive messaging, photos, and message management.