How to Connect OpenClaw to Telegram (Step-by-Step Guide)

Connecting OpenClaw to Telegram takes 3 steps: create a bot via @BotFather (takes 60 seconds), paste the bot token into your OpenClaw config, and restart the service. Telegram is the simplest OpenClaw integration — no public URL required, free, and works cross-platform on iOS, Android, Mac, Windows, and web.

Telegram is one of the fastest and cleanest ways to interact with your OpenClaw AI assistant. The bot API is well-documented, setup is straightforward, and the app is lightweight on any device.

Here's how to get it connected.

Why Telegram?

What you need before you start

That's it. Telegram is the simplest of the three chat platform integrations.

Step 1: Create a Telegram bot

Telegram makes this remarkably easy — you create bots by chatting with a bot:

  1. Open Telegram and search for @BotFather
  2. Start a conversation and send /newbot
  3. BotFather will ask for a name — this is the display name (e.g., "My AI Assistant")
  4. Then it asks for a username — this must end in bot (e.g., myai_assistant_bot)
  5. BotFather responds with a bot token — a long string like 123456789:ABCdefGHIjklMNOpqrsTUVwxyz

⚠️ Keep your bot token secret. Anyone with this token can control your bot. Never share it publicly or commit it to git.

Optional: Customise your bot

While chatting with BotFather, you can also:

Step 2: Connect to OpenClaw

OpenClaw configuration is done via the config file or the onboard CLI wizard — there's no web UI for this step.

  1. Open your OpenClaw config file (typically ~/.openclaw/openclaw.json), or run the openclaw onboard wizard
  2. Add your Telegram bot token from Step 1
  3. Save the config and restart the OpenClaw service (systemctl restart openclaw or re-run the process)

💡 Tip: The exact config fields depend on your OpenClaw version. Check the OpenClaw documentation for your version's channel configuration format.

Telegram supports two modes for receiving messages:

For most users, polling is the recommended approach — it works without exposing your server to the internet.

Step 3: Test the connection

  1. Open Telegram and find your bot (search for the username you chose in Step 1)
  2. Click Start (or send /start)
  3. Type a message — something simple like "Hello, are you working?"
  4. Your AI assistant should respond within a few seconds

Troubleshooting

Bot exists but no response

Bot responds slowly (10+ seconds)

"Bot token is invalid" error

Messages received but formatting looks wrong

Security tips

Telegram vs Discord vs WhatsApp for OpenClaw

Telegram Discord WhatsApp
Setup complexity Easy (BotFather) Easy (Developer Portal) Hard (Business API)
Response speed Fast Fast Fast
Best for Personal/business use Team/community Client-facing
Rich messages Markdown, buttons, files Embeds, files Basic formatting
Privacy Good Good Good

Related reading

Need help?

If you want results without DIY: most businesses start with one recurring workflow (from AUD $3,500) rather than a full agent install. See OpenClaw vs one workflow automation or book a fit call.