AmazonAWSSNSInterface::PublishSMS (open)

Send a sms

Syntax

LOADLIB "mod::system/lib/webapi/aws/sns.whlib";

RECORD FUNCTION PublishSMS(STRING phonenumber, STRING message, RECORD options)

Parameters

STRING phonenumber

Phonenumber to receive SMS

STRING message

The message to send

RECORD options

Options

STRING senderid

Sender of the message

STRING smstype

Delivery quality, either 'Promotional' (cheap) or 'Transactional' (fast)

Return value

RECORD

API call information

STRING messageid

Message id

STRING requestid

Request id