twilio

Provides methods for working with Twilio service.

getLastSentApiSms

Retrieves last SMS message sent from API.

Parameters:

Returns:

String - SMS text.

getLastSms

Retrieves last SMS message.

Parameters:

Returns:

String - SMS text.

init

Set Twilio authentication details.

Parameters:

sendSms

Send an SMS.

** Usage example:**

twilio.init('Account Sid', 'Account Token');
twilio.sendSms('+1xxxxxxxxxx', '+972xxxxxxxxx', 'Hello World!');

Parameters:

Returns:

String - Message SID.

Last updated