BulkSMS.BulkSMS
— ModuleA Julia package to send SMS (Short Message Service) using BulkSMS API (more exactly HTTP to SMS API)
BulkSMS.BulkSMSClient
— TypeBulkSMSClient(msisdn, username, password;
base_url=_DEFAULT_BASE_URL,
max_message_len=_DEFAULT_MAX_MESSAGE_LEN)
Create a client that can connect to BulkSMS HTTP to SMS API.
BulkSMS.send
— Methodsend(client, message_text; msisdn=nothing, action_when_long::ActionWhenLong=shorten)
Send a text message message_text
to BulkSMS using HTTP to SMS API with BulkSMSClient client
.
BulkSMS.ActionWhenLong
— TypeActionWhenLong
Enumeration that defines how long message treated
shorten
: if message is too long, it will be shorten.multiple
: if message is too long, several messages will be sent
BulkSMS.BulkSMSClientException
— TypeBulkSMSClientException(s)
BulkSMS client exception.
BulkSMS.BulkSMSResponse
— TypeBulkSMSResponse(response)
BulkSMS response (from response::Requests.Response
).
BulkSMS._crop
— Method_crop(msg, max_len) -> cropped_msg
Crop a message
to max_len
.
BulkSMS._send
— Method_send(client, message_text, msisdn)
Send a text message message_text
using client
.
This is a "low level" function. You should probably use send(...)
insted of _send(...)