OpenClaw operations guide
Set up your first OpenClaw Telegram bot
Short answer. Create a Telegram bot in BotFather, add its token to OpenClaw, and approve your own direct message before testing a reply. Start with a running Gateway and confirm you can already get a model reply in the dashboard. Set up the bot in a private chat for this test.
Last updated · Published
By CWYN · Reviewed November 19, 2026 against OpenClaw 2026.11.5
Start with a running Gateway and confirm you can already get a model reply in the dashboard. Set up the bot in a private chat for this test.
1. Create a bot with BotFather
Open Telegram and check that the handle is exactly @BotFather. Send /newbot and follow the prompts. Keep the bot username for the test and save the token privately. The Telegram setup reference covers token creation.
2. Add the token on the Gateway host
In an interactive terminal on the Gateway host, run openclaw channels add --channel telegram to open guided channel setup. Enter the token when asked and use the pairing DM policy for this test. Keep the token out of chats and screenshots.
3. Check the running channel
Run openclaw channels status --probe and check that Telegram is ready. The running Gateway normally applies the new configuration through hot reload. If the Gateway is offline and installed as a service, run openclaw gateway start, then check again.
4. Approve the direct message you sent
Find the bot using its username and send it a direct message from your own Telegram account. Match the code it sends back to the pending request before approving. Replace <CODE> with the code from your own chat. The pairing reference explains why CLI approval also makes that sender the command owner if the installation has none.
openclaw pairing list telegram
openclaw pairing approve telegram <CODE>
5. Send a fresh message after approval
After approval, send a new prompt in the same bot chat and check for a model reply. OpenClaw holds messages from unknown senders at the pairing step, so use a new message for this test.