Channel Capabilities
| Feature | Supported | Notes |
|---|---|---|
| Direct Messages | ✓ | Full support for 1:1 conversations |
| Group Chats | ✓ | Participate in group conversations |
| Media Messages | ✓ | Send and receive images, files |
| Voice Messages | ✓ | Audio message support |
| Reactions | ✓ | React to messages with emoji |
| Threads | — | Not available |
| Native Commands | ✓ | Platform-specific slash commands |
Access Control Policies
DM Policies
Control who can send direct messages to your bot:
allowlist Only senders in the allowFrom list can interact with the bot.
pairing Unknown senders receive a pairing code that admin must approve before access is granted.
open All direct messages are processed (requires allowFrom: ["*"]).
Group Policies
Control which groups your bot participates in:
allowlist Only groups in groupAllowFrom are processed.
open Bot responds in all groups it is added to.
Setup Guide
- Create a bot with @BotFather on Telegram
- Copy the bot token provided
- Set TELEGRAM_BOT_TOKEN environment variable
- Add telegram configuration to openclaw.json
- Start the gateway and message your bot
Configuration Example
{
"channels": {
"telegram": {
"botToken": "${TELEGRAM_BOT_TOKEN}",
"dmPolicy": "pairing",
"allowFrom": ["alice", "bob"],
"historyLimit": 20,
"reactionNotifications": "own"
}
}
} Use Telegram with AI Providers
Connect Telegram to your preferred AI model provider:
Anthropic
Creator of Claude AI models with advanced reasoning capabilities
View Guide →OpenAI Codex
GPT models with broad capabilities and wide ecosystem support
View Guide →Google Gemini
Multimodal AI with competitive pricing and speed
View Guide →OpenRouter
Unified API gateway to multiple AI providers
View Guide →Ollama
Run open-source LLMs locally with no API costs
View Guide →AWS Bedrock
Enterprise AI through AWS with compliance and security
View Guide →OpenAI (Standard)
Standard OpenAI API for GPT models
View Guide →