method TwilioProvider.prototype.send
TwilioProvider.prototype.send(message: SmsMessage): Promise<void>

Sends an SMS via the Twilio REST API.

Parameters

message: SmsMessage

The SMS message

Return Type

Promise<void>

Throws

Error

If the response is not OK

Usage

import { TwilioProvider } from "notification-plugin/src/index.ts";