twilio

package
v2.12.0 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SMSService

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

SMSService sends SMS via Twilio service.

func NewSMSService

func NewSMSService(
	logger *slog.Logger,
	settings model.TwilioServiceSettings,
) (*SMSService, error)

NewSMSService creates, inits and returns Twilio-backed SMS service.

func (*SMSService) SendSMS

func (ss *SMSService) SendSMS(recipient, message string) error

SendSMS sends SMS messages using Twilio service.

Jump to

Keyboard shortcuts

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