1
0
mirror of https://github.com/silenceper/wechat.git synced 2026-02-23 13:42:25 +08:00
This commit is contained in:
houseme
2023-10-14 00:54:18 +08:00
parent d214617446
commit 12dfb7051a

View File

@@ -405,42 +405,53 @@ type CoinInfo struct {
// PushDataSubscribePopup 用户操作订阅通知弹窗事件推送 // PushDataSubscribePopup 用户操作订阅通知弹窗事件推送
type PushDataSubscribePopup struct { type PushDataSubscribePopup struct {
CommonPushData CommonPushData
SubscribeMsgPopupEvent SubscribeMsgPopupEvent `json:"-" xml:"SubscribeMsgPopup"` // 用户操作订阅通知弹窗消息回调 List string `xml:"SubscribeMsgPopupEvent>List" json:"List"`
List []SubscribeMessageList `xml:"SubscribeMsgPopup>List" json:"List"`
} }
// SubscribeMsgPopupEvent 用户操作订阅通知弹窗消息回调 // SubscribeMsgPopupEvent 用户操作订阅通知弹窗消息回调
type SubscribeMsgPopupEvent struct { type SubscribeMsgPopupEvent struct {
List []SubscribeMessageList `xml:"List" json:"List"` List []SubscribeMsgPopupEventList `xml:"List" json:"List"`
}
// SubscribeMsgPopupEventList 订阅消息事件列表
type SubscribeMsgPopupEventList struct {
TemplateID string `xml:"TemplateId" json:"TemplateId"`
SubscribeStatusString string `xml:"SubscribeStatusString" json:"SubscribeStatusString"`
PopupScene string `xml:"PopupScene" json:"PopupScene"`
} }
// PushDataSubscribeMsgChange 用户管理订阅通知事件推送 // PushDataSubscribeMsgChange 用户管理订阅通知事件推送
type PushDataSubscribeMsgChange struct { type PushDataSubscribeMsgChange struct {
CommonPushData CommonPushData
SubscribeMsgChangeEvent SubscribeMsgChangeEvent `json:"-" xml:"SubscribeMsgChangeEvent"` // 用户管理订阅通知回调 List []SubscribeMsgChangeList `xml:"SubscribeMsgChangeEvent>List" json:"List"`
List []SubscribeMessageList `xml:"SubscribeMsgChangeEvent>List" json:"List"`
} }
// SubscribeMsgChangeEvent 用户管理订阅通知回调 // SubscribeMsgChangeEvent 用户管理订阅通知回调
type SubscribeMsgChangeEvent struct { type SubscribeMsgChangeEvent struct {
List []SubscribeMessageList `xml:"List" json:"List"` List []SubscribeMsgChangeList `xml:"List" json:"List"`
}
// SubscribeMsgChangeList 订阅消息事件列表
type SubscribeMsgChangeList struct {
TemplateID string `xml:"TemplateId" json:"TemplateId"`
SubscribeStatusString string `xml:"SubscribeStatusString" json:"SubscribeStatusString"`
} }
// PushDataSubscribeMsgSent 用户发送订阅通知事件推送 // PushDataSubscribeMsgSent 用户发送订阅通知事件推送
type PushDataSubscribeMsgSent struct { type PushDataSubscribeMsgSent struct {
CommonPushData CommonPushData
SubscribeMsgSentEvent SubscribeMsgSentEvent `json:"-" xml:"SubscribeMsgSentEvent"` // 用户发送订阅通知回调 List []SubscribeMsgSentEventList `xml:"SubscribeMsgSentEvent>List" json:"List"`
List []SubscribeMessageList `xml:"SubscribeMsgSentEvent>List" json:"List"`
} }
// SubscribeMsgSentEvent 用户发送订阅通知回调 // SubscribeMsgSentEvent 用户发送订阅通知回调
type SubscribeMsgSentEvent struct { type SubscribeMsgSentEvent struct {
List []SubscribeMessageList `xml:"List" json:"List"` List []SubscribeMsgSentEventList `xml:"List" json:"List"`
} }
// SubscribeMessageList 订阅消息事件列表 // SubscribeMsgSentEventList 订阅消息事件列表
type SubscribeMessageList struct { type SubscribeMsgSentEventList struct {
TemplateID string `xml:"TemplateId" json:"TemplateId"` TemplateID string `xml:"TemplateId" json:"TemplateId"`
SubscribeStatusString string `xml:"SubscribeStatusString" json:"SubscribeStatusString"` MsgID string `xml:"MsgID" json:"MsgID"`
PopupScene string `xml:"PopupScene" json:"PopupScene"` ErrorCode int `xml:"ErrorCode" json:"ErrorCode"`
ErrorStatus string `xml:"ErrorStatus" json:"ErrorStatus"`
} }