diff --git a/ChangeLog.txt b/ChangeLog.txt index 78fb126c89..0f778eff72 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,8 @@ +2023-03-15 Version: v1.62.242 +- Generated 2016-08-01 for `Push`. +- Supported AndroidMessageVivoCategory for Push and MassPush. +- Supported AndroidHuaweiTargetUserType, AndroidHuaweiReceiptId for Push and MassPush. + 2023-03-15 Version: v1.62.241 - Generated 2019-09-30 for `imagerecog`. - Update sdk. diff --git a/services/push/mass_push.go b/services/push/mass_push.go index 7fb78b5665..98a56fe729 100644 --- a/services/push/mass_push.go +++ b/services/push/mass_push.go @@ -86,6 +86,7 @@ type MassPushPushTask struct { AndroidPopupActivity string `name:"AndroidPopupActivity"` IOSRemindBody string `name:"iOSRemindBody"` Trim string `name:"Trim"` + AndroidMessageVivoCategory string `name:"AndroidMessageVivoCategory"` AndroidNotifyType string `name:"AndroidNotifyType"` AndroidPopupTitle string `name:"AndroidPopupTitle"` AndroidMessageHuaweiCategory string `name:"AndroidMessageHuaweiCategory"` @@ -109,6 +110,7 @@ type MassPushPushTask struct { AndroidXiaomiBigPictureUrl string `name:"AndroidXiaomiBigPictureUrl"` IOSRemind string `name:"iOSRemind"` IOSNotificationThreadId string `name:"iOSNotificationThreadId"` + AndroidHuaweiTargetUserType string `name:"AndroidHuaweiTargetUserType"` AndroidMusic string `name:"AndroidMusic"` IOSNotificationCollapseId string `name:"iOSNotificationCollapseId"` AndroidMessageHuaweiUrgency string `name:"AndroidMessageHuaweiUrgency"` @@ -122,6 +124,7 @@ type MassPushPushTask struct { Title string `name:"Title"` AndroidRenderStyle string `name:"AndroidRenderStyle"` IOSExtParameters string `name:"iOSExtParameters"` + AndroidHuaweiReceiptId string `name:"AndroidHuaweiReceiptId"` AndroidNotificationHonorChannel string `name:"AndroidNotificationHonorChannel"` AndroidXiaomiImageUrl string `name:"AndroidXiaomiImageUrl"` AndroidPopupBody string `name:"AndroidPopupBody"` diff --git a/services/push/push.go b/services/push/push.go index 0e62d07cef..00f78f090e 100644 --- a/services/push/push.go +++ b/services/push/push.go @@ -81,6 +81,7 @@ type PushRequest struct { AndroidPopupActivity string `position:"Query" name:"AndroidPopupActivity"` IOSRemindBody string `position:"Query" name:"iOSRemindBody"` Trim requests.Boolean `position:"Query" name:"Trim"` + AndroidMessageVivoCategory string `position:"Query" name:"AndroidMessageVivoCategory"` AndroidNotifyType string `position:"Query" name:"AndroidNotifyType"` AndroidPopupTitle string `position:"Query" name:"AndroidPopupTitle"` AndroidMessageHuaweiCategory string `position:"Query" name:"AndroidMessageHuaweiCategory"` @@ -105,6 +106,7 @@ type PushRequest struct { AndroidXiaomiBigPictureUrl string `position:"Query" name:"AndroidXiaomiBigPictureUrl"` IOSRemind requests.Boolean `position:"Query" name:"iOSRemind"` IOSNotificationThreadId string `position:"Query" name:"iOSNotificationThreadId"` + AndroidHuaweiTargetUserType requests.Integer `position:"Query" name:"AndroidHuaweiTargetUserType"` AndroidMusic string `position:"Query" name:"AndroidMusic"` IOSNotificationCollapseId string `position:"Query" name:"iOSNotificationCollapseId"` AndroidMessageHuaweiUrgency string `position:"Query" name:"AndroidMessageHuaweiUrgency"` @@ -119,6 +121,7 @@ type PushRequest struct { SmsDelaySecs requests.Integer `position:"Query" name:"SmsDelaySecs"` AndroidRenderStyle requests.Integer `position:"Query" name:"AndroidRenderStyle"` IOSExtParameters string `position:"Query" name:"iOSExtParameters"` + AndroidHuaweiReceiptId string `position:"Query" name:"AndroidHuaweiReceiptId"` AndroidNotificationHonorChannel string `position:"Query" name:"AndroidNotificationHonorChannel"` AndroidXiaomiImageUrl string `position:"Query" name:"AndroidXiaomiImageUrl"` SmsTemplateName string `position:"Query" name:"SmsTemplateName"`