Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
twilio
✓ github.com/twilio/twilio-go
Send an SMS message
package main
import (
"fmt"
"github.com/twilio/twilio-go"
)
func main() {
client := twilio.NewRestClient()
msg, _ := client.Api.CreateMessage(&twilio.CreateMessageParams{
To: twilio.String("+1234567890"),
From: twilio.String("+0987654321"),
Body: twilio.String("Hello from Go!"),
})
fmt.Println(msg.Sid)
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
1.30.9latest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.