twilio

Provides methods for working with Twilio service.

Methods

getLastSms(removeOnRead, timeout, notOlderThan)→ {String}

Retrieves last SMS message.
Parameters:
Name Type Description
removeOnRead Boolean Specifies whether to delete the message after reading it.
timeout Integer Timeout in milliseconds for waiting for the message to arrive.
notOlderThan Integer= optionalRetrieve message only if it arrived not before the given time (in ms). Default is 4 minutes.
Returns:
String - SMS text.