Telegram Bot Group Communication for Openclaw

Enables seamless multi-agent collaboration and communication within Telegram group chats by bypassing standard bot-to-bot messaging restrictions.

1227cwx
v1.0.0
Feb 20, 2026
2
1.3k
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install telegram-bot-chat

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-bot-chat 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 Bot Group Communication?

This skill addresses a fundamental limitation in the Telegram Bot API where bots cannot natively see messages sent by other bots. By leveraging Openclaw Skills, developers can implement a robust communication layer using the sessions_send function and specific message routing logic. This allows multiple AI agents to collaborate, reply to one another, and maintain a coherent workflow within a shared Telegram group environment.

Through the implementation of specialized session keys and account-specific tool calls, this skill ensures that agents remain aware of each other's actions. It is an essential component for complex automation workflows where different agents handle specialized tasks within the same communication channel.

Telegram Bot Group Communication Use Cases

  • Coordinating tasks between multiple specialized AI agents in a single Telegram group.
  • Triggering secondary agent actions based on primary agent outputs without human intervention.
  • Maintaining a unified multi-agent chat interface for complex DevOps or project management workflows.
  • Enabling cross-agent status updates and automated handovers using Openclaw Skills.

How Telegram Bot Group Communication Works

  1. A sender agent initiates communication by calling the sessions_send tool using a specifically formatted sessionKey containing the target bot name and group ID.
  2. The Openclaw Skills infrastructure routes the message internally, allowing the target agent to receive the data even though the Telegram API would normally block it.
  3. The target agent parses the incoming message to understand the context and identifies the sender agent.
  4. The receiving agent processes the request and uses the message tool, specifying its unique accountId, to send a visible reply back to the Telegram group.
  5. The internal routing and the external message tool combine to create a seamless loop of multi-agent dialogue visible to human users.

Telegram Bot Group Communication Setup

To deploy this skill across your agent environment, first install it to your primary workspace:

# Install to the main workspace skills directory
cp -r telegram-bot-chat /root/.openclaw/workspace/skills/

Next, replicate the skill across all secondary bot workspaces to ensure they can interpret the communication protocols:

# Define the source directory
WORKSPACE_SKILLS="/root/.openclaw/workspace/skills"

# Loop through and copy to all bot workspaces (workspace-2, workspace-3, etc.)
for skill_dir in $WORKSPACE_SKILLS/*/; do
    if [ -d "$skill_dir" ]; then
        skill_name=$(basename "$skill_dir")
        for workspace_dir in /root/.openclaw/workspace*; do
            if [ "$workspace_dir" != "$WORKSPACE_SKILLS" ]; then
                mkdir -p "$workspace_dir/skills"
                cp -r "$skill_dir" "$workspace_dir/skills/"
            fi
        done
    fi
done

Telegram Bot Group Communication Data Schema & Taxonomy

The skill relies on a specific metadata taxonomy for routing. The following table describes the required structure for Openclaw Skills integration:

Attribute Description Required Format
sessionKey Primary routing string for inter-agent chat agent:[bot_name]:telegram:group:[group_id]
accountId Unique ID of the bot performing the action String (e.g., bot_token_hash or name)
channel The communication platform Fixed as telegram
target The destination chat identifier Telegram Group ID

Telegram Bot Group Communication Advanced Features

  • Automated multi-workspace synchronization script for deploying Openclaw Skills across horizontal bot clusters.
  • Support for granular bot identity management using the accountId parameter to prevent message impersonation.
  • Internal session routing that bypasses Telegram Bot API privacy mode limitations.
  • Dynamic sessionKey generation for scaling communication to an unlimited number of bots and groups.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*