twilio

package
v0.0.73 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2018 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(accountSID string, authToken string) ivr.IVRClient

NewClient creates a new Twilio IVR client for the passed in account and and auth token

func NewClientFromChannel

func NewClientFromChannel(channel *models.Channel) (ivr.IVRClient, error)

NewClientFromChannel creates a new Twilio IVR client for the passed in account and and auth token

Types

type CallResponse

type CallResponse struct {
	SID    string `json:"sid"`
	Status string `json:"status"`
}

CallResponse is our struct for a Twilio call response

Jump to

Keyboard shortcuts

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