技能标识:tg-notify
Send Telegram notifications to team members by Telegram user ID. Use when you need to notify a specific person or multiple people via Telegram (e.g. alerts, reminders, task updates). Trigger phrases: "notify", "send telegram message", "alert [name] via telegram", "ping [person] on telegram", "отправь уведомление", "уведоми".
通过 OpenClaw 机器人,使用聊天 ID 向任意 Telegram 用户发送消息。
从 openclaw.json 动态读取——切勿硬编码:
bash
BOT_TOKEN=$(node -e const c=require(process.env.HOME+/.openclaw/openclaw.json);console.log(c.channels.telegram.botToken))
bash
BOT_TOKEN=$(node -e const c=require(process.env.HOME+/.openclaw/openclaw.json);console.log(c.channels.telegram.botToken))
curl -s -X POST https://api.telegram.org/bot${BOT_TOKEN}/sendMessage \
-H Content-Type: application/json \
-d {
chatid:
text:
parse_mode: HTML
}
bash
BOT_TOKEN=$(node -e const c=require(process.env.HOME+/.openclaw/openclaw.json);console.log(c.channels.telegram.botToken))
for CHAT_ID in 111111111 222222222; do
curl -s -X POST https://api.telegram.org/bot${BOT_TOKEN}/sendMessage \
-H Content-Type: application/json \
-d {\chatid\: \${CHATID}\, \text\: \
done
| 姓名 | Telegram ID |
|---|---|
| Islam | 6330057147 |
其他与机器人交互的用户请添加至 USER.md。
代码以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:
帮我安装 SkillHub 和 tg-notify-1776085382 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 tg-notify-1776085382 技能
skillhub install tg-notify-1776085382
文件大小: 1.6 KB | 发布时间: 2026-4-15 14:40