DeBox Bot Development Overview
DeBox Bot Development Overview
This is the bot overview guide for external developers, covering the full path from finding BotMother, creating/managing bots, and choosing webhook or long polling development with SDKs.
1. Find BotMother first
You can open BotMother in 3 ways:
- Deep link:
https://m.debox.pro/user/chat?id=u7ooqdjt&start= - Address search:
0xda521900ac9dfeff8a8e692bb627ff8cd80a7b28 - DeBox AI assistant entry
Recommended sequence starts from AI assistant:
1.1 Find BotMother from AI assistant

1.2 Enter BotMother conversation entry

1.3 Check BotMother command menu

2. Create a bot with BotMother
Follow the instruction flow shown by BotMother. Typical flow:
- Trigger bot creation command.
- Set bot profile (name, avatar, description).
- Complete creation and enter bot management list.
3. Manage and update bot settings
After creation, finish baseline settings first, then choose development mode.
3.1 Bot management home

On this page you can:
- View all bots
- Enter a specific bot management page
- Add or remove bots
3.2 Single bot management page

On this page you can configure:
- Bot profile (name, avatar, description)
- Credentials (
API Key, andApp Secretwhen needed) - Webhook settings (
App Domain,Webhook URL)
4. Choose one receiving mode (required)
DeBox Bot supports two receive modes:
- Webhook mode (platform pushes to your service)
- Long polling mode (
getUpdatespull)
They are strictly mutually exclusive:
- If webhook is configured, webhook is the active receive path.
- Long polling will receive none or near-none updates in that state.
- To switch back to long polling, clear webhook config first.
5. Webhook mode
Minimal setup steps:
- Configure
App Domainin bot settings. - Configure
Webhook URL(public HTTPS endpoint). - Implement callback API and validate
X-API-KEY == Webhook Key. - Handle payload and send replies with OpenAPI.
References:
6. Long polling mode
Minimal setup steps:
- Ensure webhook is not configured.
- Initialize bot with
API Key+API Secretvia SDK. - Enable listener and process updates from
GetUpdates/GetUpdatesChan. - Send replies using SDK/OpenAPI.
7. SDK options (3 official SDKs)
- Go SDK:
- Doc: DeBox Bot Go SDK
- Best for high-concurrency backend services.
- Nodejs SDK:
- Doc: DeBox Bot Nodejs SDK
- Best for JS/TS stacks and rapid iteration.
- Python SDK:
- Doc: DeBox Bot Python SDK
- Best for AI workflows, scripts, and data workflows.
8. API reference boundary
SDK docs focus on usage patterns, while OpenAPI is the source of truth for field constraints and response contracts.
Use together:
9. Recommended implementation path
- Create bot in BotMother and complete baseline settings.
- Start with webhook for small-scale integration testing.
- Select Go/Nodejs/Python SDK by team stack.
- Validate all request/response details against OpenAPI.