Clawdbot for Telegram
Telegram is the most popular platform for Clawdbot. Set up your bot in minutes and start chatting with AI right in Telegram.
Telegram Features
Private Chats
Chat one-on-one with your AI assistant
Group Chats
Add Clawdbot to group conversations
Voice Messages
Send voice and get transcribed responses
Image Analysis
Send images for AI to analyze
File Sharing
Share documents for processing
Inline Mode
Use @bot in any chat for quick answers
Setup Guide
- Open Telegram and search for @BotFather
- Start a chat and send
/newbot - Choose a name for your bot (e.g., "My Clawdbot")
- Choose a username ending in "bot" (e.g., "my_clawdbot_bot")
- BotFather will give you a token - save it!
In BotFather, you can customize your bot:
/setdescription - Set bot description
/setabouttext - Set about text
/setuserpic - Upload a profile picture
/setcommands - Set command suggestions
Add your bot token to the Clawdbot configuration:
# In your .env file
TELEGRAM_BOT_TOKEN=1234567890:ABC-DEFghij_KLMnop
Replace the token with the one you received from BotFather.
# Restart Clawdbot
docker compose restart
# Or if running natively
npm start
Open Telegram, find your bot, and send a message. You should get a response!
Advanced Configuration
# In .env - comma-separated user IDs
TELEGRAM_ALLOWED_USERS=123456789,987654321
Get your user ID by messaging @userinfobot on Telegram.
# In .env
TELEGRAM_ALLOW_GROUPS=true
# Require bot mention in groups
TELEGRAM_REQUIRE_MENTION=true
Set up commands in BotFather:
start - Start conversation
help - Show help message
reset - Clear conversation history
model - Switch AI model
# In .env
TELEGRAM_WEBHOOK_URL=https://your-domain.com/webhook
TELEGRAM_WEBHOOK_PORT=3000
Webhook mode is more efficient for high-traffic bots.
Tips for Telegram
Use Reply for Context
Reply to specific messages to reference them in your conversation with the bot.
Send Images for Analysis
Send photos to get AI-powered analysis, OCR, or creative descriptions.
Voice Messages Work Too
Send voice messages - they'll be transcribed and processed by the AI.
Use /reset to Clear Context
Start fresh by using the reset command when you want a new conversation.