Skip to content

basalt / notifications/src / SmsSender

Interface: SmsSender ​

Defined in: notifications/src/channels.ts:158

Provider-agnostic SMS/WhatsApp transport. Implement it over Twilio, Vonage, MessageBird, AppyPay… — the framework never depends on a provider SDK, the same way payment drivers stay outside the core.

Methods ​

send() ​

> send(message): Promise<void>

Defined in: notifications/src/channels.ts:159

Parameters ​

message ​
body ​

string

from? ​

string

to ​

string

Returns ​

Promise<void>

Released under the MIT License.