Skip to content

Commit

Permalink
Use correct argument types in README
Browse files Browse the repository at this point in the history
Thanks Alessio Cavaleri for reporting. Fixes saintpete#16.
  • Loading branch information
kevinburke committed Aug 8, 2017
1 parent f8a5e2c commit 6928d77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ client := twilio.NewClient(sid, token, nil)
msg, err := client.Messages.SendMessage("+14105551234", "+14105556789", "Sent via go :) ✓", nil)

// Start a phone call
call, err := client.Calls.MakeCall("+14105551234", "+14105556789",
"https://kev.inburke.com/zombo/zombocom.mp3")
var callURL, _ = url.Parse("https://kev.inburke.com/zombo/zombocom.mp3")
call, err := client.Calls.MakeCall("+14105551234", "+14105556789", callURL)

// Buy a number
number, err := client.IncomingNumbers.BuyNumber("+14105551234")
Expand Down

0 comments on commit 6928d77

Please sign in to comment.