Skip to main content
Claw101
Chapter 5 · Free~1 min read

Message Channels

Connect OpenClaw to multiple chat platforms to interact with your AI agent from anywhere.

Telegram Bot Setup

Most popular channel for personal use:

channels:
  telegram:
    enabled: true
    bot_token: "${TELEGRAM_BOT_TOKEN}"
    allowed_users:
      - 123456789  # Your Telegram user ID
    webhook_url: "https://your-domain.com/webhook/telegram"

Get your user ID by messaging @userinfobot on Telegram.

WhatsApp Integration

For WhatsApp Business API:

channels:
  whatsapp:
    enabled: true
    phone_number_id: "${WHATSAPP_PHONE_ID}"
    access_token: "${WHATSAPP_ACCESS_TOKEN}"
    verify_token: "random-secure-string"

Discord Bot

Connect to Discord servers:

channels:
  discord:
    enabled: true
    bot_token: "${DISCORD_BOT_TOKEN}"
    guild_ids:
      - "1234567890"
    command_prefix: "!"

Multi-Channel Management

Each channel maintains separate session contexts. Users can switch between platforms seamlessly while maintaining conversation history.

Configure channel-specific behaviors:

channel_settings:
  response_format:
    telegram: "markdown"
    discord: "embed"

Want to practice? Join community for $50 AI credits + live Q&A

Join ¥99