message

package
v1.1.12 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

https://ding-doc.dingtalk.com/doc#/serverapi2/qf2nxq/e9d991e2 https://github.com/JetBlink/dingtalk-notify-go-sdk

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dingtalk

type Dingtalk struct {
	AccessToken string
	Secret      string
}

func NewDingtalk

func NewDingtalk(accessToken, secret string) (client *Dingtalk, err error)

func (*Dingtalk) Send

func (d *Dingtalk) Send(content string, atAll bool, atMobiles []string) error

type WeComGroupRobot added in v1.1.4

type WeComGroupRobot struct {
	Key string
}

func NewWeComGroupRobot added in v1.1.4

func NewWeComGroupRobot(key string) (client *WeComGroupRobot, err error)

func (*WeComGroupRobot) Send added in v1.1.4

func (w *WeComGroupRobot) 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