voice

package
v0.0.0-...-a1697ce Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InvalidVoiceAttributeError

type InvalidVoiceAttributeError struct {
	From  string
	To    string
	Cause string
}

func (*InvalidVoiceAttributeError) Error

type VoiceErrors

type VoiceErrors []error
var ObjVoiceErrors *VoiceErrors

func GetVoiceErrors

func GetVoiceErrors() *VoiceErrors

func NewVoiceErrors

func NewVoiceErrors() *VoiceErrors

func (VoiceErrors) Error

func (ves VoiceErrors) Error() string

func (VoiceErrors) Len

func (ves VoiceErrors) Len() int

func (*VoiceErrors) Push

func (ves *VoiceErrors) Push(err error)

type VoiceMessage

type VoiceMessage struct {
	// contains filtered or unexported fields
}

func NewVoice

func NewVoice(voiceURL string, from string, to string) *VoiceMessage

func (*VoiceMessage) GetFromNumberE164

func (voice *VoiceMessage) GetFromNumberE164() string

func (*VoiceMessage) GetSentAtJSTFormatRFC3339

func (voice *VoiceMessage) GetSentAtJSTFormatRFC3339() string

func (*VoiceMessage) GetToNumberE164

func (voice *VoiceMessage) GetToNumberE164() string

func (*VoiceMessage) GetVoiceURL

func (voice *VoiceMessage) GetVoiceURL() string

func (*VoiceMessage) UpdateSentAt

func (voice *VoiceMessage) UpdateSentAt()

type VoiceMessages

type VoiceMessages []*VoiceMessage

func (*VoiceMessages) Len

func (msgs *VoiceMessages) Len() int

func (*VoiceMessages) Push

func (msgs *VoiceMessages) Push(msg *VoiceMessage)

Jump to

Keyboard shortcuts

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