Connect a Telegram bot with its token

channels

// what it does

Telegram is the fastest channel — no plugin, just a bot token from @BotFather. Set channels.telegram.botToken (or the TELEGRAM_BOT_TOKEN env var), start the gateway, then DM the bot; it replies with a pairing code you approve. Telegram does not use the QR-based channels login flow.

// shell

$ openclaw channels add --channel telegram
$ openclaw pairing approve telegram my-code

// gotcha

Token resolution is account-aware — tokenFile beats botToken beats env. Put numeric Telegram user IDs, not @usernames, in allowlists, since usernames can change under you.

// resources