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 phonenumberPhonenumber to receive SMS
STRING messageThe message to send
RECORD optionsOptions
STRING senderidSender of the message
STRING smstypeDelivery quality, either 'Promotional' (cheap) or 'Transactional' (fast)
Return value
RECORDAPI call information
STRING messageidMessage id
STRING requestidRequest id