Skip to main content

twilio@0.3.0

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

ParamTypeDescription
operationsOperationsOperations 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

ParamTypeDescription
paramsObjectan object containing 'body', 'from', and 'to' keys.

Example

sendSMS({
body: dataValue('sampleText'),
from: dataValue('myFromNumber'),
to: dataValue('ukMobile'),
});