Skip to content

royge/movidersms

Repository files navigation

Movider API Client

Go

How to Use It

package main

import (
	"context"
	"log"

	"github.com/royge/movidersms"
)

func main() {
	creds := movidersms.Credentials{"api-key", "api-secret"}
	sender := movidersms.NewSender(creds, []string{})

	res, err := sender.SendMessage(
		context.Background(),
		[]string{"6392612345678"},
		"Test Message",
	)
	if err != nil {
		panic(err)
	}

	log.Printf("Result: %+v\n", res)
}

About

Movider SMS Client

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages