twilio

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FromNumber = ""

FromNumber is the phone number that text messages come from.

View Source
var RecipientList = []string{}

RecipientList is the list of phone numbers that twilio sends messages to.

View Source
var TwilioAuthToken = ""

TwilioAuthToken is the auth token for twilio account integration.

View Source
var TwilioSID = ""

TwilioSID is the twilio account SID.

Functions

func InitTwilio

func InitTwilio()

InitTwilio initializes the twilio client to send SMS messages from chainquery to a list of numbers.

func SendSMS

func SendSMS(message string)

SendSMS sends a text message to the recipient list if twilio integration is setup, based on configuration.

Types

This section is empty.

Jump to

Keyboard shortcuts

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