dingding

package
v0.3.12 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Robot

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

func Default

func Default() *Robot

func NewRobot

func NewRobot(token, secret, appKey, secretKey string) *Robot

func (*Robot) SendLinkMessage

func (robot *Robot) SendLinkMessage(title string, text string, messageUrl string, picUrl string) error

func (*Robot) SendMarkdownMessage

func (robot *Robot) SendMarkdownMessage(title string, text string, atMobiles []string, isAtAll bool) error

func (*Robot) SendMessage

func (robot *Robot) SendMessage(msg interface{}) error

func (*Robot) SendTextMessage

func (robot *Robot) SendTextMessage(content string, atMobiles []string, isAtAll bool) error

Jump to

Keyboard shortcuts

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