mirror of
https://github.com/HKUDS/nanobot.git
synced 2026-04-02 17:32:39 +00:00
fix(dingtalk): correct msgKey parameter for group messages
This commit is contained in:
parent
26670d3e80
commit
caa2aa596d
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user