Add type PushPreview.
This commit is contained in:
parent
2b7a4dcac0
commit
6ca0eff5d7
|
@ -8,6 +8,25 @@ func (id PushId) String() string {
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
type PushPreview struct {
|
||||||
|
Id PushId `json:"id"`
|
||||||
|
Ctime uint32 `json:"ctime"`
|
||||||
|
Stime uint32 `json:"stime"`
|
||||||
|
Status int `json:"status"`
|
||||||
|
Info string `json:"info,omitempty"`
|
||||||
|
MaxVersion string `json:"maxVersion,omitempty"`
|
||||||
|
Platforms []uint32 `json:"platforms,omitempty"`
|
||||||
|
PlayersIds []uint32 `json:"playersIds,omitempty"`
|
||||||
|
Title string `json:"title"`
|
||||||
|
Message string `json:"message"`
|
||||||
|
Total int `json:"total"`
|
||||||
|
Sent int `json:"sent"`
|
||||||
|
Fails int `json:"fails"`
|
||||||
|
ForTest bool `json:"forTest,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
type TextVariant struct {
|
type TextVariant struct {
|
||||||
Lang int `json:"lang"`
|
Lang int `json:"lang"`
|
||||||
Title string `json:"title"`
|
Title string `json:"title"`
|
||||||
|
|
Loading…
Reference in New Issue