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
| Option | Type | Default or requirement |
|---|---|---|
userName | string | required |
apiKey | string | required |
sender | string | required |
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" });No. Use the sently sender; provider-specific extras stay on the transport instance.