fix(dingtalk): correct msgKey parameter for group messages

This commit is contained in:
shawn_wxn
2026-03-06 19:08:59 +08:00
parent 26670d3e80
commit caa2aa596d

View File

@@ -315,7 +315,7 @@ class DingTalkChannel(BaseChannel):
payload = {
"robotCode": self.config.client_id,
"openConversationId": chat_id[6:], # Remove "group:" prefix,
"msgKey": "sampleMarkdown",
"msgKey": "msg_key",
"msgParam": json.dumps(msg_param, ensure_ascii=False),
}
else: