Prerequisites
- A Telegram account
- A Claw instance (create one here)
Setup Guide
Create a Bot with BotFather
- Open Telegram and search for @BotFather
- Send
/newbot - Choose a display name for your bot (e.g., “My AI Assistant”)
- Choose a username ending in
bot(e.g.,my_ai_assistant_bot) - BotFather will reply with your Bot Token — it looks like:
Configure in LemonData Dashboard
- Go to your Claw Dashboard
- Click the settings icon on your instance
- Open the IM Integrations tab
- Expand the Telegram section
- Paste your Bot Token
- Click Save
Optional: Customize Bot Profile
After creating your bot, you can customize it with BotFather:| Command | Purpose |
|---|---|
/setdescription | Set the bot’s bio/description |
/setabouttext | Set the “About” section |
/setuserpic | Upload a profile picture |
/setcommands | Add command suggestions |
Using in Groups
Group Settings
Configure group behavior in the IM Integrations tab of your Dashboard:| Setting | Options | Description |
|---|---|---|
| Group Policy | Open (default) / Allowlist / Disabled | Controls who can trigger the bot in groups |
| Require @mention | On / Off | Bot only responds when @mentioned (recommended) |
| Group IDs | List of chat IDs | Restrict to specific groups (empty = all groups) |
| Group Allowed Users | List of user IDs | Only these users can trigger the bot (allowlist mode) |
DM Policy
Control who can send direct messages to your bot:| Policy | Behavior |
|---|---|
| Pairing (default) | New users get a pairing code — enter it in the WebUI to authorize |
| Allowlist | Only user IDs you specify can message the bot |
| Open | Anyone can message the bot (use with caution — consumes your AI credits) |
Troubleshooting
Bot doesn't respond
Bot doesn't respond
- Verify the bot token is correct (no extra spaces)
- Check that your instance is running (green status in dashboard)
- Try restarting the instance from the dashboard
'Pairing code' not appearing
'Pairing code' not appearing
- Make sure you’re sending a direct message to the bot, not in a group
- The pairing system activates on the first message from a new user
Bot responds slowly
Bot responds slowly
- Response time depends on the AI model selected
- Larger models (Claude Opus, GPT-5) may take a few seconds
- Check your LemonData balance — insufficient credits will cause errors