-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Bindings for Join push notifications -- -- Bindings to the API for Join's notification system @package join-api @version 0.0.0.0 module Network.Join -- | API Key for the account newtype APIKey APIKey :: Text -> APIKey [unAPIKey] :: APIKey -> Text -- | Device ID to send the message to/through newtype DeviceId DeviceId :: Text -> DeviceId [unDeviceId] :: DeviceId -> Text -- | SMS Message with phone number to send the message to data SMS SMS :: Text -> Text -> SMS [smsNumber] :: SMS -> Text [smsText] :: SMS -> Text -- | Send an SMS from the given device. If the device doesn't allow join to -- send SMS, there will be an error in the response sendSMS :: APIKey -> DeviceId -> SMS -> IO JoinResponse -- | Send a push notification to a given device sendPush :: APIKey -> DeviceId -> Text -> IO JoinResponse instance GHC.Show.Show Network.Join.SMS instance GHC.Classes.Ord Network.Join.SMS instance GHC.Classes.Eq Network.Join.SMS instance Data.String.IsString Network.Join.DeviceId instance GHC.Show.Show Network.Join.DeviceId instance GHC.Classes.Ord Network.Join.DeviceId instance GHC.Classes.Eq Network.Join.DeviceId instance Data.String.IsString Network.Join.APIKey instance GHC.Show.Show Network.Join.APIKey instance GHC.Classes.Ord Network.Join.APIKey instance GHC.Classes.Eq Network.Join.APIKey instance Data.Aeson.Types.FromJSON.FromJSON Network.Join.JoinResponse