Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PushNotificationExpoResponse ¶
type PushNotificationExpoResponse struct {
Data []PushNotificationResponse `json:"data"`
Errors []map[string]string `json:"errors"`
}
type PushNotificationExpoServerError ¶
type PushNotificationExpoServerError struct {
Message string
Response *http.Response
ResponseData *PushNotificationExpoResponse
Errors []map[string]string
}
func (PushNotificationExpoServerError) Error ¶
func (PushNotificationExpoServerError) Error() string
type PushNotificationMessage ¶
type PushNotificationMessage struct {
To []string `json:"to"`
Body string `json:"body"`
Data map[string]interface{} `json:"data,omitempty"`
Sound string `json:"sound,omitempty"`
Title string `json:"title,omitempty"`
TTLSeconds int `json:"ttl,omitempty"`
Expiration int64 `json:"expiration,omitempty"`
Priority string `json:"priority,omitempty"`
Badge int `json:"badge,omitempty"`
ChannelID string `json:"channelId,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.