Skip to content
michael edited this page Nov 9, 2015 · 1 revision

Provides access to SMS related functionality.

smsDeleteMessage Deletes a message.
id (Integer)
returns: (Boolean) True if the message was deleted
smsGetAttributes Returns a List of all possible message attributes.
smsGetMessageById Returns message attributes.
id (Integer) message ID
attributes (JSONArray) (optional)
smsGetMessageCount Returns the number of messages.
unreadOnly (Boolean)
folder (String) (default=inbox)
smsGetMessageIds Returns a List of all message IDs.
unreadOnly (Boolean)
folder (String) (default=inbox)
smsGetMessages Returns a List of all messages.
unreadOnly (Boolean)
folder (String) (default=inbox)
attributes (JSONArray) (optional)
returns: (List) a List of messages as Maps
smsMarkMessageRead Marks messages as read.
ids (JSONArray) List of message IDs to mark as read.
read (Boolean)
returns: (Integer) number of messages marked read
smsSend Sends an SMS.
destinationAddress (String) typically a phone number
text (String)

Clone this wiki locally