cartel v0.4.2 Cartel.Message.Apns2
Apple APNS Provider API interface message
token
:String.t
, token of the recipientid
:String.t
, canonical form UUID for delivery errorsexpiration
:Integer.t
, UNIX timestamp of notification expirationpriority
:priority_immediately/0
orpriority_when_convenient/0
topic
:String.t
, If your certificate includes multiple topicspayload
:Map
, the notification payload
At a minimum, id
and payload
items must be populated.
For more details on the format see the APNS Provider API section of Apple Local and Remote Notification Programming Guide
Summary
Functions
Returns the priority_immediately
protocol value
Returns the priority_when_convenient
protocol value
Types
t :: %Cartel.Message.Apns2{expiration: term, id: term, payload: term, priority: term, token: term, topic: term}
Functions
Specs
priority_immediately :: Integer.t
Returns the priority_immediately
protocol value
Specs
priority_when_convenient :: Integer.t
Returns the priority_when_convenient
protocol value