name: channel-setup description: Help the user connect a messaging channel (Telegram, Discord, WhatsApp, etc.) to OpenClaw
Channel Setup
OpenClaw supports 23+ chat platforms. Full docs: https://docs.openclaw.ai/channels/index
CLI reference: https://docs.openclaw.ai/cli/channels
Example: Telegram
- Message @BotFather on Telegram, send
/newbot, follow prompts, save the token - Add to your OpenClaw config (
~/.openclaw/openclaw.json):
Or set env var:{ "channels": { "telegram": { "enabled": true, "botToken": "YOUR_TOKEN_HERE", "dmPolicy": "pairing", "groups": { "*": { "requireMention": true } } } } }TELEGRAM_BOT_TOKEN=... - Restart the gateway, then message your bot on Telegram
- Approve pairing:
openclaw pairing list telegram→openclaw pairing approve telegram <CODE> - Verify:
openclaw channels list
Other Channels
openclaw channels add --channel <provider> --token <token>openclaw channels list— show all configured channelsopenclaw channels status— check runtime statusopenclaw channels remove --channel <provider>— remove a channel