Git with a cup of tea, painless self-hosted git service Mirror for internal git.with.parts use https://git.with.parts
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
gitea/vendor/github.com/lunny/dingtalk_webhook
Mura Li d77176912b Use Go1.11 module (#5743) 6 years ago
..
LICENSE Add dingtalk webhook (#2777) 7 years ago
README.md Use Go1.11 module (#5743) 6 years ago
webhook.go Add dingtalk webhook (#2777) 7 years ago

README.md

非官方 Dingtalk webhook Golang SDK

此工程仅封装了 Dingtalk 的 webhook 部分的请求

使用

首先在dingtalk中创建一个机器人,将accessToken拷贝出来,然后执行下面方法即可

webhook := dingtalk.Webhook(accessToken)
webhook.SendTextMsg("这是一个没有AT的文本消息", false)

License

This project is licensed under the MIT License. See the LICENSE file for the full license text.