Skip to content

钉钉 hook 自定义机器人, golang api hook

Notifications You must be signed in to change notification settings

goex-top/dingding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

钉钉机器人

package main

import (
	"github.com/goex-top/dingding"
)

func main()  {
    var (
        token   = "xxx"
        keyword = "\nkeywords"
        ding    = dingding.NewDing("xxx")
    )
    
    ding.SendMarkdown(Markdown{Title: "markdown测试", Content: "#### 杭州天气\n" +
        "> 9度,西北风1级,空气良89,相对温度73%\n\n" +
        "> ![screenshot](http://image.jpg)\n" +
        "> ###### 10点20分发布 [天气](http://www.thinkpage.cn/)" + keyword}))
}

About

钉钉 hook 自定义机器人, golang api hook

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages