smsadapter

package
v1.9.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 3, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package smsadapter provides SMS sender implementations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TwilioSender

type TwilioSender struct {
	// contains filtered or unexported fields
}

TwilioSender implements bridge.SMSSender via the Twilio REST API.

func NewTwilioSender

func NewTwilioSender(accountSID, authToken, fromNumber string) *TwilioSender

NewTwilioSender creates a Twilio SMS sender.

func (*TwilioSender) SendSMS

func (t *TwilioSender) SendSMS(ctx context.Context, msg *bridge.SMSMessage) error

SendSMS sends an SMS via the Twilio Messages API.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL