feat: add dingtalk chat channel (#16183)

### What does this PR do?
This PR adds a new DingTalk chat channel integration and hardens the
inbound callback path.

### Summary
- Adds DingTalk as a selectable chat channel in the UI and backend
channel registry.
- Adds the DingTalk chat channel icon asset.
- Acknowledges DingTalk Stream callbacks and deduplicates repeated
inbound messages to avoid duplicate replies.
This commit is contained in:
buua436
2026-06-18 20:06:00 +08:00
committed by GitHub
parent 5ca1686ac7
commit b409cfc3d5
8 changed files with 490 additions and 1 deletions

View File

@@ -33,7 +33,7 @@ import threading
LOGGER = logging.getLogger(__name__)
# Channel packages bundled under api/channels that self-register on import.
_BUNDLED_CHANNELS = ("feishu", "discord", "telegram", "line", "wecom", "qqbot")
_BUNDLED_CHANNELS = ("feishu", "discord", "telegram", "line", "wecom", "qqbot", "dingtalk")
# How often (seconds) to reconcile running channels against the database.
_RECONCILE_INTERVAL_SECS = 10