cartel v0.2.0 Cartel.Message.Apns2
APNS HTTP/2 interface message format
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
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