/twilio-go

Twilio Go (only Programmable Chat available) library

Primary LanguageGoMIT LicenseMIT

Twilio-Go CircleCI Build Status

Clients for Twilio API.

Install

go get github.com/smnalex/twilio-go

Documentation

GoDoc

Usage

Programmable Chat

import (
    "github.com/smnalex/twilio-go"
    "github.com/smnalex/twilio-go/chat"
)

func main() {
    // with http.DefaultClient
    configuration := twilio.NewContext()

    // with custom httpClient
    configuration := twilio.NewWithHTTP(accountSID, authToken, region, http.DefaultClient)

    chatClient, err := chat.New(configuration)
}

Contirbutions