mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-25 02:58:26 +08:00
Merge branch 'tuoyun' of github.com:OpenIMSDK/Open-IM-Server into tuoyun
This commit is contained in:
commit
c369ab9b1c
@ -218,16 +218,16 @@ type ManagementSendMsgReq struct {
|
|||||||
|
|
||||||
type PictureBaseInfo struct {
|
type PictureBaseInfo struct {
|
||||||
UUID string `mapstructure:"uuid"`
|
UUID string `mapstructure:"uuid"`
|
||||||
Type string `mapstructure:"type" validate:"required"`
|
Type string `mapstructure:"type" `
|
||||||
Size int64 `mapstructure:"size" validate:"required"`
|
Size int64 `mapstructure:"size" `
|
||||||
Width int32 `mapstructure:"width" validate:"required"`
|
Width int32 `mapstructure:"width" `
|
||||||
Height int32 `mapstructure:"height" validate:"required"`
|
Height int32 `mapstructure:"height"`
|
||||||
Url string `mapstructure:"url" validate:"required"`
|
Url string `mapstructure:"url" `
|
||||||
}
|
}
|
||||||
|
|
||||||
type PictureElem struct {
|
type PictureElem struct {
|
||||||
SourcePath string `mapstructure:"sourcePath"`
|
SourcePath string `mapstructure:"sourcePath"`
|
||||||
SourcePicture PictureBaseInfo `mapstructure:"sourcePicture" validate:"required"`
|
SourcePicture PictureBaseInfo `mapstructure:"sourcePicture"`
|
||||||
BigPicture PictureBaseInfo `mapstructure:"bigPicture" `
|
BigPicture PictureBaseInfo `mapstructure:"bigPicture" `
|
||||||
SnapshotPicture PictureBaseInfo `mapstructure:"snapshotPicture"`
|
SnapshotPicture PictureBaseInfo `mapstructure:"snapshotPicture"`
|
||||||
}
|
}
|
||||||
@ -282,25 +282,15 @@ type RevokeElem struct {
|
|||||||
RevokeMsgClientID string `mapstructure:"revokeMsgClientID" validate:"required"`
|
RevokeMsgClientID string `mapstructure:"revokeMsgClientID" validate:"required"`
|
||||||
}
|
}
|
||||||
type OANotificationElem struct {
|
type OANotificationElem struct {
|
||||||
NotificationName string `mapstructure:"notificationName" validate:"required"`
|
NotificationName string `mapstructure:"notificationName" validate:"required"`
|
||||||
NotificationFaceURL string `mapstructure:"notificationFaceURL" validate:"required"`
|
NotificationFaceURL string `mapstructure:"notificationFaceURL" validate:"required"`
|
||||||
NotificationType int32 `mapstructure:"notificationType" validate:"required"`
|
NotificationType int32 `mapstructure:"notificationType" validate:"required"`
|
||||||
Text string `mapstructure:"text" validate:"required"`
|
Text string `mapstructure:"text" validate:"required"`
|
||||||
Url string `mapstructure:"url"`
|
Url string `mapstructure:"url"`
|
||||||
MixType int32 `mapstructure:"mixType"`
|
MixType int32 `mapstructure:"mixType"`
|
||||||
Image struct {
|
PictureElem PictureElem `mapstructure:"pictureElem"`
|
||||||
SourceUrl string `mapstructure:"sourceURL"`
|
SoundElem SoundElem `mapstructure:"soundElem"`
|
||||||
SnapshotUrl string `mapstructure:"snapshotURL"`
|
VideoElem VideoElem `mapstructure:"videoElem"`
|
||||||
} `mapstructure:"image"`
|
FileElem FileElem `mapstructure:"fileElem"`
|
||||||
Video struct {
|
Ex string `mapstructure:"ex"`
|
||||||
SourceUrl string `mapstructure:"sourceURL"`
|
|
||||||
SnapshotUrl string `mapstructure:"snapshotURL"`
|
|
||||||
Duration int64 `mapstructure:"duration"`
|
|
||||||
} `mapstructure:"video"`
|
|
||||||
File struct {
|
|
||||||
SourceUrl string `mapstructure:"sourceURL"`
|
|
||||||
FileName string `mapstructure:"fileName"`
|
|
||||||
FileSize int64 `mapstructure:"fileSize"`
|
|
||||||
} `mapstructure:"file"`
|
|
||||||
Ex string `mapstructure:"ex"`
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user