Explorar o código

Add Event Type (#596)

* fix issue #586 #543

* add EventViewMiniprogram wechat EventType

Co-authored-by: Wang Rong <wangron@tesla.com>
Wangrong %!s(int64=3) %!d(string=hai) anos
pai
achega
252fc4838b
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      officialaccount/message/message.go

+ 2 - 0
officialaccount/message/message.go

@@ -68,6 +68,8 @@ const (
 	EventPicWeixin EventType = "pic_weixin"
 	// EventLocationSelect 弹出地理位置选择器的事件推送
 	EventLocationSelect EventType = "location_select"
+	// EventViewMiniprogram 点击菜单跳转小程序的事件推送
+	EventViewMiniprogram EventType = "view_miniprogram"
 	// EventTemplateSendJobFinish 发送模板消息推送通知
 	EventTemplateSendJobFinish EventType = "TEMPLATESENDJOBFINISH"
 	// EventMassSendJobFinish 群发消息推送通知