ex_nexmo v0.1.1 ExNexmo.SMS.Request

A request to the Nexmo SMS API.

Summary

Functions

Builds a request payload

Send the SMS message

Types

t()
t :: %ExNexmo.SMS.Request{api_key: term, api_secret: term, body: term, callback: term, client_ref: term, from: term, message_class: term, protocol_id: term, status_report_req: term, text: term, title: term, to: term, ttl: term, type: term, udh: term, url: term, validity: term, vcal: term, vcard: term}

Functions

build_payload(request)

Builds a request payload.

send(request)
send(ExNexmo.SMS.Request.t) :: {atom, map}
send(from, to, text)
send(String.t, String.to, String.t) :: {atom, map}

Send the SMS message.