From fb1aa60ae8ff05df246119e971e9719b24dc8714 Mon Sep 17 00:00:00 2001 From: ForrestSu Date: Sun, 18 Apr 2021 18:50:24 +0800 Subject: [PATCH] =?UTF-8?q?feat(officialaccount):=20=E8=A1=A5=E5=85=85?= =?UTF-8?q?=E7=BE=A4=E5=8F=91=E6=B6=88=E6=81=AFevent=20(#393)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat(officialaccount): 补充群发消息event * feat: 解析群发结果通知中的成功失败数 --- officialaccount/message/message.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/officialaccount/message/message.go b/officialaccount/message/message.go index 3115c24..ecbe12a 100644 --- a/officialaccount/message/message.go +++ b/officialaccount/message/message.go @@ -69,6 +69,8 @@ const ( EventLocationSelect = "location_select" //EventTemplateSendJobFinish 发送模板消息推送通知 EventTemplateSendJobFinish = "TEMPLATESENDJOBFINISH" + //EventMassSendJobFinish 群发消息推送通知 + EventMassSendJobFinish = "MASSSENDJOBFINISH" //EventWxaMediaCheck 异步校验图片/音频是否含有违法违规内容推送事件 EventWxaMediaCheck = "wxa_media_check" ) @@ -117,6 +119,10 @@ type MixMessage struct { MenuID string `xml:"MenuId"` Status string `xml:"Status"` SessionFrom string `xml:"SessionFrom"` + TotalCount int64 `xml:"TotalCount"` + FilterCount int64 `xml:"FilterCount"` + SentCount int64 `xml:"SentCount"` + ErrorCount int64 `xml:"ErrorCount"` ScanCodeInfo struct { ScanType string `xml:"ScanType"`