Connect Moltbot to Telegram
Turn your Telegram into a powerful AI assistant interface. Message Moltbot (formerly Clawdbot) from anywhere using Telegram.
- ✓Free & Unlimited — No message limits, no API costs for Telegram itself
- ✓Cross-Platform — Works on iOS, Android, Desktop, and Web
- ✓Rich Media — Send images, files, voice messages to your AI
- ✓Private — End-to-end encrypted secret chats available
- ✓Easy Setup — Takes less than 5 minutes to configure
Setup Steps
Create a Telegram Bot
Open Telegram and search for @BotFather. Send /newbot and follow the prompts to create your bot.
- • Choose a name for your bot (e.g., 'My Moltbot')
- • Choose a username ending in 'bot' (e.g., 'my_moltbot_bot')
- • Save the API token BotFather gives you
Get Your Chat ID
You need your Telegram user ID to authorize yourself as the bot owner.
- • Search for @userinfobot on Telegram
- • Send any message to it
- • It will reply with your user ID (a number like 123456789)
Configure Moltbot
Add the Telegram configuration to your Moltbot config file.
{
"channels": {
"telegram": {
"enabled": true,
"botToken": "YOUR_BOT_TOKEN",
"allowFrom": ["YOUR_USER_ID"]
}
}
}Restart Moltbot
Apply the configuration by restarting the Moltbot service.
moltbot restart
Start Chatting
Open Telegram, find your bot, and send a message. Moltbot will respond!
- • Search for your bot by its username
- • Click 'Start' to begin the conversation
- • Send any message to test the connection
Customize how Moltbot interacts with Telegram:
{
"channels": {
"telegram": {
"enabled": true,
"botToken": "YOUR_BOT_TOKEN",
"allowFrom": ["USER_ID_1", "USER_ID_2"],
"allowGroups": false,
"parseMode": "Markdown",
"silentMode": false
}
}
}allowFrom— Array of user IDs allowed to message the botallowGroups— Enable/disable group chat supportparseMode— Message formatting (Markdown or HTML)silentMode— Disable notification sounds for responses
Bot not responding?
Check that your user ID is in the allowFrom array and restart Moltbot.
Invalid token error?
Make sure you copied the entire token from BotFather, including any colons.
Messages are delayed?
Telegram uses long-polling. If your server has connectivity issues, messages may be delayed.
Telegram Connected!
Add more channels or configure your AI model for better responses.