twilio
Provides methods for working with Twilio service.
Last updated
Provides methods for working with Twilio service.
Last updated
Retrieves last SMS message sent from API.
Parameters:
Name | Type | Description |
---|---|---|
Returns:
String
- SMS text.
Retrieves last SMS message.
Parameters:
Name | Type | Description |
---|---|---|
Returns:
String
- SMS text.
Set Twilio authentication details.
Parameters:
Send an SMS.
** Usage example:**
Parameters:
Returns:
String
- Message SID.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
removeOnRead
Boolean
Specifies whether to delete the message after reading it.
timeout
Number
Timeout in milliseconds for waiting for the message to arrive.
notOlderThan
Number
optional
Retrieve message only if it arrived not before the given time (in ms). Default is 4 minutes.
removeOnRead
Boolean
Specifies whether to delete the message after reading it.
timeout
Number
Timeout in milliseconds for waiting for the message to arrive.
notOlderThan
Number
optional
Retrieve message only if it arrived not before the given time (in ms). Default is 4 minutes.
fromNumber
String
optional
From number to filter message
accountSid
String
Account SID.
authToken
String
Authentication token.
from
String
Phone number to send from.
to
String
Phone number to send to.
message
String
Message to send.