chatapi

package
v0.0.0-...-51fd5d7 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChatAPI

type ChatAPI struct {
	// contains filtered or unexported fields
}

func New

func New(log *logger.Logger) *ChatAPI

func (*ChatAPI) SendEmails

func (api *ChatAPI) SendEmails(emails []string, message string)

SendEmails sends emails with the message using the env email sender config.

func (*ChatAPI) SendWhatsappMessage

func (api *ChatAPI) SendWhatsappMessage(phone int64, message string)

SendWhatsappMessage sends a whatsapp message to the phone.

Jump to

Keyboard shortcuts

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