This repository has been archived on 2024-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
forgejo/vendor/github.com/lunny/dingtalk_webhook/README.md

18 lines
510 B
Markdown
Raw Normal View History

# 非官方 Dingtalk webhook Golang SDK
## 此工程仅封装了 Dingtalk 的 webhook 部分的请求
## 使用
首先在dingtalk中创建一个机器人将accessToken拷贝出来然后执行下面方法即可
```Go
webhook := dingtalk.Webhook(accessToken)
webhook.SendTextMsg("这是一个没有AT的文本消息", false)
```
## License
This project is licensed under the MIT License.
See the [LICENSE](https://github.com/lunny/webhook_dingtalk/blob/master/LICENSE) file
for the full license text.