natsio/model/notification_request.go

15 lines
379 B
Go
Raw Normal View History

2022-09-23 03:13:14 +00:00
package model
// PayloadPushNotification ...
type PayloadPushNotification struct {
User string `json:"user"`
Type string `json:"type"`
TargetId string `json:"targetId"`
IsFromAdmin bool `json:"isFromAdmin"`
Category string `json:"category"`
Options struct {
Title string `json:"title"`
Content string `json:"content"`
} `json:"options"`
}