Class: TwilioService

TwilioService() → {TwilioService}

Create a new TwilioService instance (not meant to be instantiated directly).

Constructor

new TwilioService() → {TwilioService}

Returns:

a TwilioService instance.

Type
TwilioService

Methods

send(from, to, body) → {Promise}

Send a text message to a number

Parameters:
Name Type Description
from String

number to send from

to String

number to send to

body String

SMS body content

Returns:
Type
Promise