跳转到内容

消息推送

在配置文件的 message 字段中配置推送渠道:

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