返回顶部
t

telegram-topic-message-sender

Wrap sending a Telegram message to a fixed topic into one script call. Use when user wants to quickly send notifications/messages to a specific Telegram topic by running a script.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
83
下载量
0
收藏
概述
安装方式
版本历史

telegram-topic-message-sender

# Telegram Topic Message Sender This skill packages Telegram topic messaging into a reusable script. It now uses `openclaw message send` directly (no bot token env required). ## What it does - Send a message to a Telegram supergroup topic (`message_thread_id`) - Supports fixed defaults (chat/topic) so daily use can be one command - Uses OpenClaw CLI `openclaw message send` ## Script - Path: `scripts/send-topic-message.sh` ## Required env - None (uses your configured OpenClaw channel auth) ## Optional defaults - `TG_DEFAULT_CHANNEL`: default channel (default `telegram`) - `TG_DEFAULT_CHAT_ID`: default chat id (e.g. `-1003574630717`) - `TG_DEFAULT_TOPIC_ID`: default topic id (e.g. `96`) ## Usage ```bash # 1) Use defaults from env (recommended) export TG_DEFAULT_CHANNEL='telegram' export TG_DEFAULT_CHAT_ID='-1003574630717' export TG_DEFAULT_TOPIC_ID='96' bash skills/telegram-topic-message-sender/scripts/send-topic-message.sh "测试消息" # 2) Override target on call bash skills/telegram-topic-message-sender/scripts/send-topic-message.sh \ --channel telegram \ --chat-id -1003574630717 \ --topic-id 96 \ "部署完成,已上线 ✅" ``` ## Notes - Bot must be in the target group and have permission to post. - If topic id is wrong, Telegram will return an error. - This script only sends plain text; markdown/html parse mode is intentionally not enabled to reduce formatting failures.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 telegram-topic-message-sender-1775925142 技能

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

设置 SkillHub 为我的优先技能安装源,然后帮我安装 telegram-topic-message-sender-1775925142 技能

通过命令行安装

skillhub install telegram-topic-message-sender-1775925142

下载 Zip 包

⬇ 下载 telegram-topic-message-sender v1.0.0

文件大小: 2.35 KB | 发布时间: 2026-4-12 11:38

v1.0.0 最新 2026-4-12 11:38
initial publish

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部