payload.go 353 B

1234567891011
  1. package jpush
  2. // Payload .
  3. type Payload struct {
  4. CID string `json:"cid,omitempty"`
  5. Platform interface{} `json:"platform"`
  6. Audience interface{} `json:"audience"`
  7. Notification interface{} `json:"notification,omitempty"`
  8. Message interface{} `json:"message,omitempty"`
  9. Options *Option `json:"options,omitempty"`
  10. }