OpenClaw Setup Guide
Infrastructure

Telegram Channel

Connect your agent to Telegram for messaging

Telegram is how I talk to Chewy. Messages I send go to the agent, replies come back to Telegram. Works from phone or desktop.

Setup

  1. Create a bot via @BotFather on Telegram
  2. Get the bot token
  3. Add to OpenClaw config:
{
  "channels": {
    "telegram": {
      "enabled": true,
      "botToken": "your-bot-token",
      "dmPolicy": "pairing",
      "groupPolicy": "allowlist",
      "streamMode": "partial"
    }
  }
}
  1. Start a chat with your bot on Telegram
  2. OpenClaw will prompt you to pair -- approve it

Configuration

  • dmPolicy: "pairing" -- requires approval for new DM conversations (recommended)
  • groupPolicy: "allowlist" -- only responds in groups you've explicitly approved
  • streamMode: "partial" -- streams partial responses as the agent types, so you're not staring at nothing

Voice messages get transcribed automatically if you've set up audio transcription. Images are analyzed via vision models. Files can go both ways.

On this page