Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAdapter ¶
func NewAdapter(ctx context.Context, envAcc pkgadapter.EnvConfigAccessor, ceClient cloudevents.Client) pkgadapter.Adapter
NewAdapter satisfies pkgadapter.AdapterConstructor.
func NewEnvConfig ¶
func NewEnvConfig() pkgadapter.EnvConfigAccessor
NewEnvConfig satisfies pkgadapter.EnvConfigConstructor.
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.
Click to show internal directories.
Click to hide internal directories.