fax

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FaxResponse

type FaxResponse struct {
	XMLName  xml.Name `xml:"Response"`
	Children []interface{}
}

FaxResponse provides the structure and functions for generation TwiML that can be used on Programmable Fax. See https://www.twilio.com/docs/fax/twiml more details

func New

func New() *FaxResponse

New create a new instance of FaxResponse

func (*FaxResponse) ReceiveWithAttributes

func (m *FaxResponse) ReceiveWithAttributes(attributes verbs.ReceiveAttributes)

func (*FaxResponse) Reject

func (m *FaxResponse) Reject()

func (*FaxResponse) ToString added in v0.3.0

func (m *FaxResponse) ToString() (*string, error)

ToString generates the TwiML string or returns an error if the response cannot be marshalled

func (*FaxResponse) ToTwiML

func (m *FaxResponse) ToTwiML() (*string, error)

ToTwiML generates the TwiML string or returns an error if the response cannot be marshalled

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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