pinpon-0.2.0.1: A gateway for various cloud notification services

Safe HaskellNone
LanguageHaskell2010

Network.PinPon.Notification

Contents

Synopsis

Types

data Notification Source #

A pinpon doorbell notification.

pinpon doorbell notifications are sent by pinpon API clients to the server. The server translates these notifications to the format(s) required by the doorbell's subscribers.

Note that some notification formats don't support sound (e.g., email and SMS). This field will be ignored on platforms that do not support it.

Constructors

Notification 

Fields

  • _headline :: !Text

    A summary of the notification, preferably a single line

  • _message :: !Text

    A more detailed message (can be multiple lines)

  • _sound :: !Text

    A client-specific string denoting the sound to play