Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AndroidBody ¶
type AndroidBody struct { Ticker string `json:"ticker,omitempty"` Title string `json:"title,omitempty"` Text string `json:"text,omitempty"` Sound string `json:"sound,omitempty"` PlayVibrate string `json:"play_vibrate,omitempty"` PlayLights string `json:"play_lights,omitempty"` PlaySound string `json:"play_sound,omitempty"` AfterOpen string `json:"after_open,omitempty"` Url string `json:"url,omitempty"` Activity string `json:"activity,omitempty"` Custom interface{} `json:"custom,omitempty"` }
type Data ¶
type Data struct { AppKey string `json:"appkey,omitempty"` Timestamp string `json:"timestamp,omitempty"` Type string `json:"type,omitempty"` DeviceTokens string `json:"device_tokens,omitempty"` AliasType string `json:"alias_type,omitempty"` FileId string `json:"file_id,omitempty"` Filter string `json:"filter,omitempty"` Payload interface{} `json:"payload,omitempty"` ProductionMode bool `json:"production_mode"` Description string `json:"Description,omitempty"` ThirdPartyId string `json:"thirdparty_id,omitempty"` }
type IosApns ¶
type IosApns struct { Alert *IosApnsAlert `json:"alert,omitempty"` Badge int `json:"badge,omitempty"` Sound string `json:"sound,omitempty"` ContentAvailable int `json:"content-available,omitempty"` Category string `json:"category,omitempty"` }
type IosApnsAlert ¶
Click to show internal directories.
Click to hide internal directories.