Transports

Msegat

Send SMS through Msegat and use its concrete OTP helpers.

Send SMS through Msegat and use its concrete OTP helpers.

The one rule

Create this transport under the matching sently channel sender.

Configuration

OptionTypeDefault or requirement
userNamestringrequired
apiKeystringrequired
senderstringrequired
import { createSmsSender } from "sently/sms";
import { MsegatTransport } from "sently/transports/msegat";

const sender = createSmsSender({ transport: new MsegatTransport({ userName: "...", apiKey: "...", sender: "MyBrand" }) });
await sender.send({ to: "+15551234567", body: "Hello" });

On this page