Back to README
DingTalk
DingTalk is Alibaba's enterprise communication platform, widely used in Chinese workplaces. It uses a streaming SDK to maintain persistent connections.
Configuration
{
"channel_list": {
"dingtalk": {
"enabled": true,
"type": "dingtalk",
"client_id": "YOUR_CLIENT_ID",
"client_secret": "YOUR_CLIENT_SECRET",
"allow_from": [],
"placeholder": { "enabled": true, "text": ["Thinking..."] },
"group_trigger": { "mention_only": false },
"reasoning_channel_id": ""
}
}
}
| Field | Type | Required | Description |
|---|---|---|---|
| enabled | bool | Yes | Whether to enable the DingTalk channel |
| client_id | string | Yes | Client ID of the DingTalk application |
| client_secret | string | Yes | Client Secret of the DingTalk application |
| allow_from | array | No | User ID whitelist; empty means all users are allowed |
| placeholder | object | No | Placeholder message shown while the agent is working |
| group_trigger | object | No | Group trigger settings (e.g. { "mention_only": true }) |
| reasoning_channel_id | string | No | Optional ID to route reasoning/thinking output to a separate chat |
Setup
- Go to the DingTalk Open Platform
- Create an internal enterprise application
- Obtain the Client ID and Client Secret from the application settings
- Configure OAuth and event subscriptions (if needed)
- Fill in the Client ID and Client Secret in the configuration file