twilio@0.3.2
Functions
- execute(operations) ⇒
Operation
Execute a sequence of operations. Wraps
language-common/execute
, and prepends initial state for http.- sendSMS(params) ⇒
Operation
Sends an SMS message to a specific phone number
execute(operations) ⇒ Operation
Execute a sequence of operations.
Wraps language-common/execute
, and prepends initial state for http.
Kind: global function
Param | Type | Description |
---|---|---|
operations | Operations | Operations to be performed. |
Example
execute(
create('foo'),
delete('bar')
)(state)
sendSMS(params) ⇒ Operation
Sends an SMS message to a specific phone number
Kind: global function
Access: public
Param | Type | Description |
---|---|---|
params | Object | an object containing 'body', 'from', and 'to' keys. |
Example
sendSMS({
body: dataValue('sampleText'),
from: dataValue('myFromNumber'),
to: dataValue('ukMobile'),
});