|
|
|
@ -347,15 +347,15 @@ type RevokeElem struct {
|
|
|
|
|
RevokeMsgClientID string `mapstructure:"revokeMsgClientID" validate:"required"`
|
|
|
|
|
}
|
|
|
|
|
type OANotificationElem struct {
|
|
|
|
|
NotificationName string `mapstructure:"notificationName" validate:"required"`
|
|
|
|
|
NotificationFaceURL string `mapstructure:"notificationFaceURL" validate:"required"`
|
|
|
|
|
NotificationType int32 `mapstructure:"notificationType" validate:"required"`
|
|
|
|
|
Text string `mapstructure:"text" validate:"required"`
|
|
|
|
|
Url string `mapstructure:"url"`
|
|
|
|
|
MixType int32 `mapstructure:"mixType"`
|
|
|
|
|
PictureElem PictureElem `mapstructure:"pictureElem"`
|
|
|
|
|
SoundElem SoundElem `mapstructure:"soundElem"`
|
|
|
|
|
VideoElem VideoElem `mapstructure:"videoElem"`
|
|
|
|
|
FileElem FileElem `mapstructure:"fileElem"`
|
|
|
|
|
Ex string `mapstructure:"ex"`
|
|
|
|
|
NotificationName string `mapstructure:"notificationName" json:"notificationName" validate:"required"`
|
|
|
|
|
NotificationFaceURL string `mapstructure:"notificationFaceURL" json:"notificationFaceURL" validate:"required"`
|
|
|
|
|
NotificationType int32 `mapstructure:"notificationType" json:"notificationType" validate:"required"`
|
|
|
|
|
Text string `mapstructure:"text" json:"text" validate:"required"`
|
|
|
|
|
Url string `mapstructure:"url" json:"url"`
|
|
|
|
|
MixType int32 `mapstructure:"mixType" json:"mixType"`
|
|
|
|
|
PictureElem PictureElem `mapstructure:"pictureElem" json:"pictureElem"`
|
|
|
|
|
SoundElem SoundElem `mapstructure:"soundElem" json:"soundElem"`
|
|
|
|
|
VideoElem VideoElem `mapstructure:"videoElem" json:"videoElem"`
|
|
|
|
|
FileElem FileElem `mapstructure:"fileElem" json:"fileElem"`
|
|
|
|
|
Ex string `mapstructure:"ex" json:"ex"`
|
|
|
|
|
}
|
|
|
|
|