https://github.com/opentoys/weworkbot
企微机器人推送脚本
https://github.com/opentoys/weworkbot
bot go only-std wechatwork wework
Last synced: about 2 months ago
JSON representation
企微机器人推送脚本
- Host: GitHub
- URL: https://github.com/opentoys/weworkbot
- Owner: opentoys
- License: mit
- Created: 2023-12-27T08:09:31.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-28T03:41:57.000Z (over 2 years ago)
- Last Synced: 2026-01-26T14:24:58.923Z (4 months ago)
- Topics: bot, go, only-std, wechatwork, wework
- Language: Go
- Homepage:
- Size: 12.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# weworkbot
企微机器人推送脚本
## 使用
```
Usage of main:
-d, --debug print debug message.
-f, --file string set upload and send file,
support local path,url, base64;example: ./a.zip, http://a.com/a.zip, data:base,sdjkashd=
-i, --image string set upload and send image,
support local path,url, base64;example: ./a.png, http://a.com/a.jpeg, data:base,sdjkashd=
-k, --key string set wework bot key, support env X_WEWORK_BOT_KEY= for default (default "4cc96c9e-4a3f-4188-8df7-e6300c8fcca7")
-m, --markdown string send markdown v2 message
-t, --text string send text message
--timeout string set deadline to cancel, support 1s, 2m3s...
Wewrok bot doc: https://developer.work.weixin.qq.com/document/path/91770.
```