twiliosms

package module
v0.0.0-...-a1dde9d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 2, 2021 License: GPL-3.0 Imports: 7 Imported by: 0

README

twiliosms

Simple send sms via twilio.com with golang

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TWILIOSMS

type TWILIOSMS struct {
	AccountSID string
	AuthToken  string
	MessageSID string
}

TWILIOSMS is main object

func Create

func Create(AccountSID string, AuthToken string, MessageSID string) *TWILIOSMS

Create is same Factory function

func Factory

func Factory(AccountSID string, AuthToken string, MessageSID string) *TWILIOSMS

Factory is create new object

func New

func New(AccountSID string, AuthToken string, MessageSID string) *TWILIOSMS

New is same Factory function

func (*TWILIOSMS) Send

func (me *TWILIOSMS) Send(txtToNumber string, txtMessage string) (string, error)

Send sms to number phone

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL