Files
picoclaw/docs/channels/dingtalk/README.md
T
loveuer 31624a2a50 docs: align guides with the slimmed fork
Refresh setup, Docker, release, and contribution guidance.
Fix channel settings examples and credential documentation.
Remove Antigravity tutorials and redirect outdated translations.
Align platform, model routing, and troubleshooting instructions.
2026-11-17 16:00:25 +08:00

41 lines
1.6 KiB
Markdown

> Back to [README](../../../README.md)
# DingTalk
DingTalk is Alibaba's enterprise communication platform, widely used in Chinese workplaces. It uses a streaming SDK to maintain persistent connections.
## Configuration
> Configuration: common fields such as `enabled`, `type`, and `allow_from` belong on the channel entry; channel-specific fields belong under `settings`. Credentials saved under `channel_list.<name>.settings` in `.security.yml` override the main JSON configuration.
```json
{
"channel_list": {
"dingtalk": {
"enabled": true,
"type": "dingtalk",
"allow_from": [],
"settings": {
"client_id": "YOUR_CLIENT_ID",
"client_secret": "YOUR_CLIENT_SECRET"
}
}
}
}
```
| 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 |
## Setup
1. Go to the [DingTalk Open Platform](https://open.dingtalk.com/)
2. Create an internal enterprise application
3. Obtain the Client ID and Client Secret from the application settings
4. Configure OAuth and event subscriptions (if needed)
5. Fill in the Client ID and Client Secret in the configuration file