All of the payloads are uploaded as JSON format in decentralized storage solutions (or in some special future cases, even centralized ones). The EPNS JS Library interfaces with Ethereum Push Notification Service protocol and calls:
sendNotification(address _recipient, bytes _identity)
Differs with the payload type, broadcast and special multi payload notifications have the channel address as the recipient address.
The identity field consists of the following parameters joined together with a delimiter.
Payload type not only indicates the content of notification but also the storage implementation stored.
Indicates the hash of the payload through which payload data can be obtained.