FunctionSDK v0.3.0

papierSmsAdapter

Sends SMS through the Twilio connection configured for the environment in Papier. Papier holds the Twilio credentials; the SDK only submits the rendered text.

import { papierSmsAdapter } from '@usepapier/client/base';

Declaration #

adapters.tsTypeScript
export function papierSmsAdapter(context: PapierDeliveryOptions): SMSAdapter;

Source: packages/client/src/delivery/adapters.ts:69

Parameters

context
PapierDeliveryOptions
Generated from TypeScript source.b1e9ee529902