Telegram Setup Guide

Configure Telegram channel in OpenClaw (formerly ClawDBot)

📋 Prerequisites

  • OpenClaw installed and running
  • Telegram account
  • Chat with @BotFather to create a bot

🔧 Setup Steps

Step 1: Create Telegram Bot

  • Open Telegram, search for @BotFather
  • Send /newbot to create new bot
  • Follow instructions to set name and username
  • Copy the Bot Token

Step 2: Configure token + policy

{ channels: { telegram: { enabled: true, botToken: "123:abc", dmPolicy: "pairing", groups: { "*": { requireMention: true } } } } }

Step 3: Start + approve pairing

openclaw gateway openclaw pairing list telegram openclaw pairing approve telegram <CODE>

Pairing code expires in about 1 hour.

💬 Start Chatting

  1. Search for your bot username in Telegram
  2. Click Start or send /start
  3. Start chatting with OpenClaw!

If group messages are not visible, adjust BotFather /setprivacy and re-add the bot to the group.