Sfoglia il codice sorgente

Add Event Type (#596)

* fix issue #586 #543

* add EventViewMiniprogram wechat EventType

Co-authored-by: Wang Rong <wangron@tesla.com>
Wangrong 3 anni fa
parent
commit
252fc4838b
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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 群发消息推送通知