Telegram Topic Message Sender for Openclaw

A lightweight script wrapper that allows users to quickly send messages to specific Telegram group topics using the OpenClaw command line interface.

shing19
v1.0.0
Mar 31, 2026
0
739
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install telegram-topic-message-sender

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install telegram-topic-message-sender using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Telegram Topic Message Sender?

The Telegram Topic Message Sender is a utility designed to package Telegram topic messaging into a reusable and highly efficient script. By leveraging the OpenClaw CLI, this skill allows developers and power users to send targeted notifications to specific threads within a Telegram supergroup without the need to manage bot tokens manually within the script environment. It is an essential component for those building robust automation workflows using Openclaw Skills, providing a simplified interface for real-time communication.

This skill focuses on reliability and ease of use. It intentionally uses plain text formatting to avoid the common pitfalls and failures associated with complex Markdown or HTML parsing in automated scripts. By centralizing the messaging logic, users can integrate Telegram notifications into their existing systems with minimal configuration, relying on the underlying OpenClaw authentication for secure message delivery.

Telegram Topic Message Sender Use Cases

  • Sending automated deployment success or failure notifications to a DevOps topic.
  • Delivering real-time system monitoring alerts to specific team sub-channels.
  • Integrating automated daily stand-up or status reports into the Openclaw Skills workflow.
  • Triggering instant notifications from cron jobs or local scripts directly to a filtered Telegram topic.

How Telegram Topic Message Sender Works

  1. The script first checks for target configuration, including the channel name, chat ID, and topic ID (thread ID), retrieved from environment variables or command-line flags.
  2. It processes the input message string provided by the user during the script execution.
  3. The skill utilizes the internal openclaw message send command to route the text through the authorized Telegram channel.
  4. The message is delivered to the specific topic identified by the message_thread_id, ensuring organized communication within large supergroups.
  5. If any parameters are missing or the topic ID is incorrect, the script provides feedback based on the OpenClaw and Telegram API responses.

Telegram Topic Message Sender Setup

To get started with this skill in your Openclaw Skills collection, ensure your OpenClaw environment is authenticated with Telegram. You can configure your environment with default values to simplify the command usage:

# Set your default target configuration
export TG_DEFAULT_CHANNEL='telegram'
export TG_DEFAULT_CHAT_ID='-100XXXXXXXXXX'
export TG_DEFAULT_TOPIC_ID='123'

# Execute the script with a message
bash skills/telegram-topic-message-sender/scripts/send-topic-message.sh "Hello from Openclaw Skills"

Alternatively, you can override these defaults directly in the command line using the --channel, --chat-id, and --topic-id flags.

Telegram Topic Message Sender Data Schema & Taxonomy

The Telegram Topic Message Sender relies on a structured set of parameters to ensure messages reach the correct destination. The following configuration schema is used:

Parameter Source Description
channel --channel / TG_DEFAULT_CHANNEL The name of the configured OpenClaw channel.
chat_id --chat-id / TG_DEFAULT_CHAT_ID The unique numeric ID of the Telegram supergroup.
topic_id --topic-id / TG_DEFAULT_TOPIC_ID The message_thread_id representing the specific topic.
message Positional Argument The plain text string to be sent to the topic.

Telegram Topic Message Sender Advanced Features

  • Environment-based defaults for rapid, one-argument script execution in CI/CD environments.
  • Direct integration with OpenClaw authentication to avoid exposing bot tokens in local scripts.
  • Support for manual overrides, allowing a single script to handle multiple topics or channels dynamically.
  • Minimalist plain-text design to ensure maximum compatibility across different Openclaw Skills implementations and Telegram client versions.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*