notify

package
v1.4.0-201912101600 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2019 License: MIT Imports: 3 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 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