Prerequisites
- OpenClaw installed and daemon running (
openclaw status) - A Telegram account
- A Telegram Bot Token from @BotFather
Step 1 — Create Your Bot
- Open Telegram and message @BotFather
- Send
/newbotand follow the prompts to choose a name and username - Copy the API token BotFather gives you — you'll need it in step 3
Step 2 — Enable Telegram in OpenClaw
openclaw channels add telegram
When prompted, paste your Bot Token.
Step 3 — Verify the Connection
- Start a conversation with your new bot in Telegram
- Send
/start - You should receive an OpenClaw welcome response within a few seconds
- Confirm with:
openclaw channels list
Advanced Config
Set a custom system prompt for Telegram users in config.yaml:
channels:
telegram:
enabled: true
token: "YOUR_BOT_TOKEN"
system_prompt: "You are a helpful assistant."
Telegram Troubleshooting
Bot not responding? Work through common Telegram issues.