twiliosource

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnvAccessor

func EnvAccessor() pkgadapter.EnvConfigAccessor

EnvAccessor returns an accessor for the source's adapter envConfig.

func NewAdapter

NewAdapter returns a constructor for the source's adapter.

Types

type Message

type Message struct {
	MessageSid    string `json:"message_sid"`
	SmsStatus     string `json:"sms_status"`
	FromCountry   string `json:"from_country"`
	NumSegments   string `json:"num_segments"`
	ToZip         string `json:"to_zip"`
	NumMeda       string `json:"num_meda"`
	AccountSid    string `json:"account_sid"`
	SmsMessageSid string `json:"sms_message_sid"`
	ApiVersion    string `json:"api_version"`
	ToCountry     string `json:"to_country"`
	ToCity        string `json:"to_city"`
	FromZip       string `json:"from_zip"`
	SmsSid        string `json:"sms_sid"`
	FromState     string `json:"from_state"`
	Body          string `json:"body"`
	From          string `json:"from"`
	FromCity      string `json:"from_city"`
	To            string `json:"to"`
	ToState       string `json:"to_state"`
}

Message represents a Twilio SMS.

Jump to

Keyboard shortcuts

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