mirror of
https://github.com/HKUDS/nanobot.git
synced 2026-04-30 06:45:55 +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 = {
|
payload = {
|
||||||
"robotCode": self.config.client_id,
|
"robotCode": self.config.client_id,
|
||||||
"openConversationId": chat_id[6:], # Remove "group:" prefix,
|
"openConversationId": chat_id[6:], # Remove "group:" prefix,
|
||||||
"msgKey": "sampleMarkdown",
|
"msgKey": "msg_key",
|
||||||
"msgParam": json.dumps(msg_param, ensure_ascii=False),
|
"msgParam": json.dumps(msg_param, ensure_ascii=False),
|
||||||
}
|
}
|
||||||
else:
|
else:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user