ex_messagebird v0.1.0 ExMessagebird.SMS
Programmable SMS
Link to this section Summary
Functions
Sends an SMS to the recipient
Link to this section Functions
Link to this function
send_text_message(recipient, message, options \\ %{})
Sends an SMS to the recipient
Possible options:
:originator Overwrites the default originator set in config
:scheduledDatetime The scheduled date and time of the message in RFC3339 format (Y-m-dTH:i:sP)
:validity The amount of seconds that the message is valid. If a message is not delivered within this time, the message will be discarded.
:datacoding The datacoding used can be plain (GSM 03.38 characters only), unicode (contains non-GSM 03.38 characters)
or `auto`, we will then set unicode or plain depending on the body content.
:backend Override configured backend