notify

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SendGroupMessage

func SendGroupMessage(token string, msg GroupMessage) bool

func SendGroupMessageSync

func SendGroupMessageSync(token string, msg GroupMessage)

func SendUserMessage

func SendUserMessage(token string) bool

Types

type GroupMessage

type GroupMessage struct {
	Bot     string            `json:"bot"`     //bot name
	Level   string            `json:"level"`   //message level
	Title   string            `json:"title"`   //title
	Host    string            `json:"host"`    //host
	Label   map[string]string `json:"label"`   //addition content
	Content string            `json:"content"` //content
	Notify  []string          `json:"notify"`  //notify
}

Jump to

Keyboard shortcuts

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