Saltar al contenido principal
Esta página no tiene versión en español, así que te la mostramos en inglés.

twilio@1.1.3

sendSMS(params)

This adaptor exports the following from common:

alterState
combine()
dataPath()
dataValue()
each()
field()
fields()
fn()
fnIf()
lastReferenceValue()
log()
merge()
sourceValue()

Functions​

sendSMS​

sendSMS(params) ⇒ Operation

Sends an SMS message to a specific phone number

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

Example

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