Retrieves last SMS message.
Parameters:
Name | Type | Description |
|
| Specifies whether to delete the message after reading it. |
|
| Timeout in milliseconds for waiting for the message to arrive. |
|
|
|
Returns:
String
- SMS text.
Set Twilio authentication details.
Parameters:
Name | Type | Description |
|
| Account SID. |
|
| Authentication token. |
Send an SMS.
Usage example:
twilio.init('Account Sid', 'Account Token');twilio.sendSms('+1xxxxxxxxxx', '+972xxxxxxxxx', 'Hello World!');
Parameters:
Name | Type | Description |
|
| Phone number to send from. |
|
| Phone number to send to. |
|
| Message to send. |
Returns:
String
- Message SID.