cartel v0.3.0 Cartel.Message.Apns2

Apple APNS Provider API interface message

  • token: String.t, token of the recipient
  • id: String.t, canonical form UUID for delivery errors
  • expiration: Integer.t, UNIX timestamp of notification expiration
  • priority: priority_immediately/0 or priority_when_convenient/0
  • topic: String.t, If your certificate includes multiple topics
  • payload: 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

priority_immediately()

Specs

priority_immediately :: Integer.t

Returns the priority_immediately protocol value

priority_when_convenient()

Specs

priority_when_convenient :: Integer.t

Returns the priority_when_convenient protocol value