Feature/get bank info #23
|
@ -0,0 +1,8 @@
|
||||||
|
package jsconsumer
|
||||||
|
|
||||||
|
// Selly ...
|
||||||
|
var Selly = struct {
|
||||||
|
PushNotification string
|
||||||
|
}{
|
||||||
|
PushNotification: "PULL_PUSH_NOTIFICATION",
|
||||||
|
}
|
|
@ -7,8 +7,11 @@ type PushNotification struct {
|
||||||
TargetID string `json:"targetId"`
|
TargetID string `json:"targetId"`
|
||||||
IsFromAdmin bool `json:"isFromAdmin"`
|
IsFromAdmin bool `json:"isFromAdmin"`
|
||||||
Category string `json:"category"`
|
Category string `json:"category"`
|
||||||
Options struct {
|
Options NotificationOptions `json:"options"`
|
||||||
|
}
|
||||||
|
|
||||||
|
// NotificationOptions ...
|
||||||
|
type NotificationOptions struct {
|
||||||
Title string `json:"title"`
|
Title string `json:"title"`
|
||||||
Content string `json:"content"`
|
Content string `json:"content"`
|
||||||
} `json:"options"`
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue