Unofficial Golang sdk for dingtalk webhook
Go to file
2017-10-25 11:15:54 +08:00
LICENSE add readme and license 2017-10-23 16:16:12 +08:00
README.md add readme and license 2017-10-23 16:16:12 +08:00
webhook_test.go init 2017-10-23 16:10:56 +08:00
webhook.go define ActionCard 2017-10-25 11:15:54 +08:00

非官方 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.