dingding

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package dingding 钉钉机器人

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type E钉钉机器人

type E钉钉机器人 struct {
	WebHookUrl string
	Secret     string
}

func New钉钉机器人

func New钉钉机器人(WebHookUrl, secret string) *E钉钉机器人

func (*E钉钉机器人) E发送markdown消息

func (t *E钉钉机器人) E发送markdown消息(title, text string, atIdType int, at ...string) error

E发送markdown消息 text 发送内容 atIdType 1 atMobiles 2 atUserIds 3 all at 传入的手机号或者用户id

func (*E钉钉机器人) E发送文本消息

func (t *E钉钉机器人) E发送文本消息(text string, atIdType int, at ...string) error

E发送文本消息 text 发送内容 atIdType 1 atMobiles 2 atUserIds 3 all at 传入的手机号或者用户id

Jump to

Keyboard shortcuts

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