闲社服务运行正常AI智能体自动化平台
t

Telegram通知

技能标识: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", "отправь уведомление", "уведоми".

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.0.3
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

Telegram通知

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: USER_ID>,
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\: \\, \parse_mode\: \HTML\}
done

已知团队成员

姓名Telegram ID
Islam6330057147

其他与机器人交互的用户请添加至 USER.md。

注意事项

  • - parse_mode: HTML 支持 粗体、斜体、代码
  • 机器人只能向之前与其发起过聊天的用户发送消息
  • 检查响应中的 ok: true 以确认投递成功;妥善处理错误
  • 令牌始终在运行时从 ~/.openclaw/openclaw.json 读取——切勿存储在此文件中

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 tg-notify-1776085382 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 tg-notify-1776085382 技能

通过命令行安装

skillhub install tg-notify-1776085382

下载

⬇ 下载 tg-notify v1.0.3(免费)

文件大小: 1.6 KB | 发布时间: 2026-4-15 14:40

v1.0.3 最新 2026-4-15 14:40
- Expanded the skill description to clarify purpose and common use cases.
- Added example trigger phrases (in English and Russian) to the description for easier discovery.
- No changes to code or functionality; documentation update only.
返回顶部