Complete guide to connecting Telegram with Moltbot (formerly Clawdbot)
New to channel setup? For a hands-on, step-by-step tutorial, check out our Channel Setup Tutorial. This page is a comprehensive reference covering all Telegram features and configuration options.
Telegram is a popular messaging platform with excellent bot support. OpenClaw (formerly Moltbot, Clawdbot) connects to Telegram using the Bot API via grammY, providing DMs, groups, and rich media support.
Setting up Telegram requires creating a bot with BotFather:
/newbotOptional: Set bot description and commands:
/setdescription - Set bot description/setcommands - Set bot commands{
"channels": {
"telegram": {
"enabled": true,
"token": "YOUR_BOT_TOKEN_HERE"
}
}
}
Add your bot token:
TELEGRAM_BOT_TOKEN{
"channels": {
"telegram": {
"allowFrom": ["@username", "123456789"]
}
}
}
{
"channels": {
"telegram": {
"groups": {
"*": {
"requireMention": true
},
"-1001234567890": {
"requireMention": false,
"activation": "always"
}
}
}
}
}
By default, unknown senders require pairing:
openclaw pairing approve telegram <code>Keep your bot token secure:
If bot doesn't respond:
If messages aren't received:
If group features don't work: