消息推送
在配置文件的 message 字段中配置推送渠道:
{ "caiyun": [{ "auth": "..." }], "message": { "title": "签到推送", "onlyError": false, "pushplus": { "token": "你的token" } }}支持的推送渠道
Section titled “支持的推送渠道”| 渠道 | 配置字段 | 说明 |
|---|---|---|
| PushPlus | pushplus: { token } | pushplus.plus |
| Server酱 | serverChan: { token } | sct.ftqq.com |
| 企业微信应用 | workWeixin: { corpid, corpsecret, agentid } | 企业微信自建应用 |
| 企业微信机器人 | workWeixinBot: { url } | 群机器人 webhook |
| Telegram | tgBot: { token, chat_id, proxy? } | Telegram Bot |
| Bark | bark: { key } | iOS Bark |
| 钉钉 | dingTalk: { token, secret } | 钉钉机器人 |
| 邮件 | email: { host, port, from, pass, to } | SMTP 邮件 |
| TwoIm | twoIm: { key, sid } | 回逍推送 |
| 自定义 | customPost: { url, data } | 自定义 POST |
{ "message": { "title": "签到推送", "pushplus": { "token": "xxx" }, "tgBot": { "token": "xxx", "chat_id": "xxx" }, "bark": { "key": "xxx" } }}{ "message": { "onlyError": true }}