Documentation ¶
Index ¶
- type VoiceResponse
- func (v *VoiceResponse) Connect() *verbs.Connect
- func (v *VoiceResponse) ConnectWithAttributes(attributes verbs.ConnectAttributes) *verbs.Connect
- func (v *VoiceResponse) Dial(phoneNumber *string) *verbs.Dial
- func (v *VoiceResponse) DialWithAttributes(attributes verbs.DialAttributes, phoneNumber *string) *verbs.Dial
- func (v *VoiceResponse) Enqueue(name *string) *verbs.Enqueue
- func (v *VoiceResponse) EnqueueWithAttributes(attributes verbs.EnqueueAttributes, name *string) *verbs.Enqueue
- func (v *VoiceResponse) Gather() *verbs.Gather
- func (v *VoiceResponse) GatherWithAttributes(attributes verbs.GatherAttributes) *verbs.Gather
- func (v *VoiceResponse) Hangup()
- func (v *VoiceResponse) Leave()
- func (v *VoiceResponse) Pause()
- func (v *VoiceResponse) PauseWithAttributes(attributes verbs.PauseAttributes)
- func (v *VoiceResponse) Pay() *verbs.Pay
- func (v *VoiceResponse) PayWithAttributes(attributes verbs.PayAttributes) *verbs.Pay
- func (v *VoiceResponse) Play(url *string)
- func (v *VoiceResponse) PlayWithAttributes(attributes verbs.PlayAttributes, url *string)
- func (v *VoiceResponse) Prompt() *verbs.Prompt
- func (v *VoiceResponse) PromptWithAttributes(attributes verbs.PromptAttributes) *verbs.Prompt
- func (v *VoiceResponse) Queue(name string)
- func (v *VoiceResponse) QueueWithAttributes(attributes nouns.QueueAttributes, name string)
- func (v *VoiceResponse) Record()
- func (v *VoiceResponse) RecordWithAttributes(attributes verbs.RecordAttributes)
- func (v *VoiceResponse) Redirect(url string)
- func (v *VoiceResponse) RedirectWithAttributes(attributes verbs.RedirectAttributes, url string)
- func (v *VoiceResponse) Refer() *verbs.Refer
- func (v *VoiceResponse) ReferWithAttributes(attributes verbs.ReferAttributes) *verbs.Refer
- func (v *VoiceResponse) Reject()
- func (v *VoiceResponse) RejectWithAttributes(attributes verbs.RejectAttributes)
- func (v *VoiceResponse) Say(message string)
- func (v *VoiceResponse) SayWithAttributes(attributes verbs.SayAttributes, message string)
- func (v *VoiceResponse) Sms(message string)
- func (v *VoiceResponse) SmsWithAttributes(attributes verbs.SmsAttributes, message string)
- func (v *VoiceResponse) Start() *verbs.Start
- func (v *VoiceResponse) StartWithAttributes(attributes verbs.StartAttributes) *verbs.Start
- func (v *VoiceResponse) Stop() *verbs.Stop
- func (v *VoiceResponse) StopWithAttributes(attributes verbs.StopAttributes) *verbs.Stop
- func (v *VoiceResponse) ToString() (*string, error)
- func (v *VoiceResponse) ToTwiML() (*string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VoiceResponse ¶
VoiceResponse provides the structure and functions for generation TwiML that can be used on Programmable Voice. See https://www.twilio.com/docs/voice/twiml for more details
func (*VoiceResponse) Connect ¶
func (v *VoiceResponse) Connect() *verbs.Connect
func (*VoiceResponse) ConnectWithAttributes ¶
func (v *VoiceResponse) ConnectWithAttributes(attributes verbs.ConnectAttributes) *verbs.Connect
func (*VoiceResponse) DialWithAttributes ¶
func (v *VoiceResponse) DialWithAttributes(attributes verbs.DialAttributes, phoneNumber *string) *verbs.Dial
func (*VoiceResponse) EnqueueWithAttributes ¶
func (v *VoiceResponse) EnqueueWithAttributes(attributes verbs.EnqueueAttributes, name *string) *verbs.Enqueue
func (*VoiceResponse) Gather ¶
func (v *VoiceResponse) Gather() *verbs.Gather
func (*VoiceResponse) GatherWithAttributes ¶
func (v *VoiceResponse) GatherWithAttributes(attributes verbs.GatherAttributes) *verbs.Gather
func (*VoiceResponse) Hangup ¶
func (v *VoiceResponse) Hangup()
func (*VoiceResponse) Leave ¶
func (v *VoiceResponse) Leave()
func (*VoiceResponse) Pause ¶
func (v *VoiceResponse) Pause()
func (*VoiceResponse) PauseWithAttributes ¶
func (v *VoiceResponse) PauseWithAttributes(attributes verbs.PauseAttributes)
func (*VoiceResponse) Pay ¶
func (v *VoiceResponse) Pay() *verbs.Pay
func (*VoiceResponse) PayWithAttributes ¶
func (v *VoiceResponse) PayWithAttributes(attributes verbs.PayAttributes) *verbs.Pay
func (*VoiceResponse) Play ¶
func (v *VoiceResponse) Play(url *string)
func (*VoiceResponse) PlayWithAttributes ¶
func (v *VoiceResponse) PlayWithAttributes(attributes verbs.PlayAttributes, url *string)
func (*VoiceResponse) Prompt ¶
func (v *VoiceResponse) Prompt() *verbs.Prompt
func (*VoiceResponse) PromptWithAttributes ¶
func (v *VoiceResponse) PromptWithAttributes(attributes verbs.PromptAttributes) *verbs.Prompt
func (*VoiceResponse) Queue ¶
func (v *VoiceResponse) Queue(name string)
func (*VoiceResponse) QueueWithAttributes ¶
func (v *VoiceResponse) QueueWithAttributes(attributes nouns.QueueAttributes, name string)
func (*VoiceResponse) Record ¶
func (v *VoiceResponse) Record()
func (*VoiceResponse) RecordWithAttributes ¶
func (v *VoiceResponse) RecordWithAttributes(attributes verbs.RecordAttributes)
func (*VoiceResponse) Redirect ¶
func (v *VoiceResponse) Redirect(url string)
func (*VoiceResponse) RedirectWithAttributes ¶
func (v *VoiceResponse) RedirectWithAttributes(attributes verbs.RedirectAttributes, url string)
func (*VoiceResponse) Refer ¶
func (v *VoiceResponse) Refer() *verbs.Refer
func (*VoiceResponse) ReferWithAttributes ¶
func (v *VoiceResponse) ReferWithAttributes(attributes verbs.ReferAttributes) *verbs.Refer
func (*VoiceResponse) Reject ¶
func (v *VoiceResponse) Reject()
func (*VoiceResponse) RejectWithAttributes ¶
func (v *VoiceResponse) RejectWithAttributes(attributes verbs.RejectAttributes)
func (*VoiceResponse) Say ¶
func (v *VoiceResponse) Say(message string)
func (*VoiceResponse) SayWithAttributes ¶
func (v *VoiceResponse) SayWithAttributes(attributes verbs.SayAttributes, message string)
func (*VoiceResponse) Sms ¶
func (v *VoiceResponse) Sms(message string)
func (*VoiceResponse) SmsWithAttributes ¶
func (v *VoiceResponse) SmsWithAttributes(attributes verbs.SmsAttributes, message string)
func (*VoiceResponse) Start ¶
func (v *VoiceResponse) Start() *verbs.Start
func (*VoiceResponse) StartWithAttributes ¶
func (v *VoiceResponse) StartWithAttributes(attributes verbs.StartAttributes) *verbs.Start
func (*VoiceResponse) Stop ¶
func (v *VoiceResponse) Stop() *verbs.Stop
func (*VoiceResponse) StopWithAttributes ¶
func (v *VoiceResponse) StopWithAttributes(attributes verbs.StopAttributes) *verbs.Stop
func (*VoiceResponse) ToString ¶
func (v *VoiceResponse) ToString() (*string, error)
ToString generates the TwiML string or returns an error if the response cannot be marshalled
func (*VoiceResponse) ToTwiML ¶
func (v *VoiceResponse) ToTwiML() (*string, error)
ToTwiML generates the TwiML string or returns an error if the response cannot be marshalled
Click to show internal directories.
Click to hide internal directories.