Add type PushPayload.
This commit is contained in:
parent
e4f142324f
commit
3557a84ae0
|
@ -196,3 +196,10 @@ func jobRequests_deviceTokenAmount(jobRequests []PushJobRequest) uint32 {
|
|||
}
|
||||
return total
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
type PushPayload struct {
|
||||
ImageUrl string `json:"imageUrl"`
|
||||
TextVariants []*TextVariant `json:"textVariants"`
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue