wecom

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// 每个机器人发送的消息不能超过20条/分钟。
	WebhookAPI = "https://qyapi.weixin.qq.com/cgi-bin/webhook/send"

	RequestTimeout = time.Second * time.Duration(10)
)

Variables

This section is empty.

Functions

This section is empty.

Types

type GroupRobot

type GroupRobot struct {
	Key string
}

func (*GroupRobot) Send

func (r *GroupRobot) Send(content string, mentionedUserIDList, mentionedMobileList []string) error

Jump to

Keyboard shortcuts

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