googlechat

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GoogleChat

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

func NewGoogleChat

func NewGoogleChat(config map[string]interface{}, appCfg *config.App) *GoogleChat

NewGoogleChat returns new google chat instance

func (*GoogleChat) Name

func (r *GoogleChat) Name() string

Name returns name of the provider

func (*GoogleChat) SendEvent

func (r *GoogleChat) SendEvent(e *event.Event) error

SendEvent sends event to the provider

func (*GoogleChat) SendMessage

func (r *GoogleChat) SendMessage(msg string) error

SendMessage sends text message to the provider

Jump to

Keyboard shortcuts

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