Adding Bots
Via CLI
Via Web UI
- Click + ADD in the sidebar
- Enter the bot token and click CHECK to validate
- Give it a name
- Enable Management and/or Proxy mode
- If proxy is enabled, enter the backend webhook URL
- Click SAVE
Bot Modes
Each bot can operate in one or both modes:| Mode | Description |
|---|---|
| Management | Chat tracking, message monitoring, admin actions, analytics |
| Proxy | Reverse proxy — forwards updates to a backend URL |
Bot Resolution
API endpoints accept abot_id parameter. The server checks registered bots first, then falls back to ProxyManager’s managed bots.
Chat Isolation
Chats use a compound primary key(bot_id, chat_id). Each bot has its own independent view of chats, even if multiple bots are in the same group.