Skip to content
yurenchen000 edited this page May 23, 2025 · 9 revisions

Welcome to the disk_notify wiki!

backends

telegram

how to get bot_token and chat_id?

  1. create your bot & get bot_token
    https://core.telegram.org/bots#how-do-i-create-a-bot
    @BotFather will send you bot_token like this:
    12341234:ABCD39kkdpWt3ywyRZergyOLMaJhac60qc

  2. send a msg from your telegram to bot
    // say hello to bot, so that bot can discover your chat

  3. get chat_id via http api
    https://core.telegram.org/bots/api#getupdates
    BOT_TOKEN='put your bot token'
    curl -s "https://api.telegram.org/bot$BOT_TOKEN/getUpdates" | jq
    pick the .chat.id from result json

feishu (飞书)

https://open.feishu.cn/document/client-docs/bot-v3/add-custom-bot#42b6d092

  1. add custom_bot (自定义机器人) to your chat group
    // seems need Desktop Client; maybe mobile or web can't add that bot)

  2. get the bot_token (the uuid) from Bot Betails > Webhook URL

dingtalk (钉钉)

https://open.dingtalk.com/document/robots/custom-robot-access

群聊 > 群设置 > 机器人 > 添加 自定义机器人
//安全设置, 不选加签

获得 webhook 地址 https://oapi.dingtalk.com/robot/send?access_token=AAAAAAAAAAAAAAAABBBBBBBBBBBBBCCCCCCCCCCCCCCC

结尾 access_token 的值

wework (企业微信)

https://hiflow.tencent.com/docs/applications/wwx-robot/
https://developer.work.weixin.qq.com/document/path/99110#markdown%E7%B1%BB%E5%9E%8B

  1. add bot to your chat group // in your wework app

  2. get the bot webhook address, something like:
    https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=AAAAAAAA-1111-2222-3333-AAAAAAAAAAAA

get the value of key=...

pushplus (推送加)

//push msg to wechat

get your push token (and topic) from
http://www.pushplus.plus/
http://www.pushplus.plus/push2.html

WxPusher

//can't push to wechat anymore, need install app

get your SPT (simple push token)
https://wxpusher.zjiecode.com/docs/#/?id=spt

ServerChan (Server酱)

//push msg to wechat

get your sendkey from
https://sct.ftqq.com/