Why Telegram?
Telegram is ideal for personal AI agents: - Available on every device (phone, tablet, desktop, web) - Rich message formatting (markdown, buttons, media) - Instant push notifications - No cost for bot usage - Excellent API
Step 1: Create a Bot with BotFather
- Open Telegram and search for @BotFather
- Send
/newbot - Choose a name (e.g., "My OpenClaw Agent")
- Choose a username (must end in
bot, e.g.,my_openclaw_bot) - Copy the API token
Step 2: Configure OpenClaw
openclaw config set telegram.token YOUR_BOT_TOKEN
openclaw gateway restartMaster this topic with hands-on labs
Go beyond reading — build real projects in sandboxed environments with expert video guidance.
Browse Courses →Step 3: Start Chatting
Open your bot in Telegram and send a message. Your OpenClaw agent will respond!
Features
Voice Messages
Send voice messages to your bot — OpenClaw can transcribe and respond.
File Sharing
Send documents, images, and code files. Your agent can read and process them.
Location Sharing
Share your location for weather forecasts and local recommendations.
Inline Buttons
OpenClaw can send messages with interactive buttons for quick actions.
Advanced Configuration
Private Only
Restrict your bot to only respond to you:
telegram:
token: "YOUR_TOKEN"
allowedUsers:
- "your_telegram_id"Group Chat Mode
Add your bot to Telegram groups:
telegram:
token: "YOUR_TOKEN"
groups:
- id: "-100123456789"
mode: "mention" # Only respond when @mentionedGet weekly IT automation tips
Docker, Ansible, Terraform, MLOps — curated insights delivered to your inbox. No spam.
Subscribe Free →Use Cases
- Quick questions while away from your desk
- Reminders — "remind me to deploy at 5 PM"
- Status checks — "is the website up?"
- File access — "send me the latest report"
- Smart home — "turn off the living room lights"
Tips
- Set a profile picture for your bot in BotFather (
/setuserpic) - Add a description (
/setdescription) so others know what it does - Pin important messages from your agent for quick reference
- Use /commands in BotFather to register bot commands
---
Ready to go deeper? Check out our hands-on course: OpenClaw Agent — practical exercises you can follow along on your own machine.
Further reading
To go deeper, the Ansible intelligent assistant and MCP server expands on these patterns in production.
Ready to learn by doing?
Stop reading tutorials — start building. Expert video courses with hands-on labs in real sandboxed environments.
Related Articles
OpenClaw Volume Permissions Fix
Fix OpenClaw Docker volume permission errors. Resolve EACCES issues for named volumes and bind mounts with troubleshooting steps.
Troubleshoot OpenClaw Gateway Errors
Fix OpenClaw gateway errors: 401 unauthorized, connection refused, origin not allowed, and WebSocket failures with resolution guides.
OpenClaw Reverse Proxy with Caddy
Set up HTTPS for OpenClaw using Caddy reverse proxy. Automatic TLS certificates, WebSocket support, and production config.
OpenClaw vs ChatGPT
Compare OpenClaw's self-hosted approach with ChatGPT and other cloud AI services. Learn the trade-offs between control, privacy, and convenience.
OpenClaw vs LangChain vs AutoGPT
Compare OpenClaw with LangChain, AutoGPT, and other AI agent frameworks. Understand the differences in architecture, use cases, and philosophy.
openSUSE Tumbleweed: Safe Rolling
openSUSE Tumbleweed combines rolling-release freshness with automated testing. The safest way to run bleeding-edge Linux in 2026.
Explore topics
Browse more articles on the topics covered here.