fix(dingtalk): correct msgKey parameter for group messages
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user