Versions in this module Expand all Collapse all v0 v0.0.1 Aug 25, 2013 Changes in this version + type CallParams struct + ApplicationSid string + FallbackMethod string + FallbackUrl string + IfMachine string + Method string + Record bool + SendDigits string + StatusCallback string + StatusCallbackMethod string + Timeout int + Url string + type CallResponse struct + AccountSid string + AnsweredBy string + ApiVersion string + CallerName string + DateCreated Timestamp + DateUpdated Timestamp + Direction string + Duration string + EndTime Timestamp + ForwardedFrom string + From string + FromFormatted string + ParentCallSid string + PhoneNumberSid string + Price Price + Sid string + StartTime Timestamp + Status string + SubresourceUris struct{ ... } + To string + ToFormatted string + Uri string + type CallSipParams struct + From string + SipAuthPassword string + SipAuthUsername string + type Exception struct + Code int + Message string + MoreInfo string + Status int + func (e *Exception) Error() string + type Pagination struct + End int + FirstPageUri string + LastPageUri string + NextPageUri string + NumPages int + Page int + PageSize int + PreviousPageUri string + Start int + Total int + Uri string + type Parameter interface + type Price float32 + func (p *Price) UnmarshalJSON(b []byte) error + type SMSListResponse struct + SMSMessages []SMSResponse + type SMSParams struct + ApplicationSid string + StatusCallback string + type SMSResponse struct + AccountSid string + ApiVersion string + Body string + DateCreated Timestamp + DateSent Timestamp + DateUpdated Timestamp + Direction string + From string + Price Price + Sid string + Status string + To string + Uri string + type Timestamp time.Time + func (m *Timestamp) UnmarshalJSON(b []byte) error + type Twilio struct + AccountSid string + AuthToken string + BaseUrl string + Transport http.RoundTripper + func NewTwilio(accountSid, authToken string) *Twilio + func (t *Twilio) GetSMS(sid string) (s *SMSResponse, err error) + func (t *Twilio) ListSMS(filters map[string]string) (sl *SMSListResponse, err error) + func (t *Twilio) MakeCall(from, to string, p CallParams) (r *CallResponse, err error) + func (t *Twilio) MakeSipCall(to string, p CallSipParams) (r *CallResponse, err error) + func (t *Twilio) SendSMS(from, to, body string, p SMSParams) (s *SMSResponse, err error) + func (t *Twilio) SimpleSendSMS(from, to, body string) (*SMSResponse, error)