textlocal-0.1.0.2: Haskell wrapper for textlocal SMS gateway

Safe HaskellNone
LanguageHaskell2010

Network.Api.TextLocal

Synopsis

Documentation

data Credential Source #

Credential for making request to textLocal server.

defaultSMSSettings :: SMSSettings Source #

defaultSMSSettings has the default settings, duh! The settingsSender has a value of TXTLCL. The accessors settingsMessage, settingsAuth, settingsNumber contains a value of bottom. They have to be initialized to a proper value before sending SMS.

setManager :: Manager -> SMSSettings -> SMSSettings Source #

Use an existing manager instead of creating a new one

sendSMS Source #

Arguments

:: ByteString

Text to send

-> [ByteString]

Destination numbers

-> Credential 
-> IO (Either JSONException TLResponse)