- Send SMS
- Send MMS
- Place Automated Phone Calls
-
// TODO… 🤔
- Get module:
go get -u github.com/timbillstrom/elks
package main
import (
"os"
"github.com/timbillstrom/elks"
)
func main() {
client := elks.NewClient(
os.Getenv("46_USERNAME"),
os.Getenv("46_SECRET"),
false, // No message will be sent when this is true.
)
res, err := client.SendMessage(&elks.SMS{
From: "Moose",
To: "+46…",
Message: "Är du ute och älgar?",
})
...
}