Telegram Pairing Message Customization for Openclaw

A technical utility to inject custom text and instructions into the automated pairing response for new Telegram bot users.

crazypeace
v1.0.6
Feb 9, 2026
0
2.3k
1

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install telegram-pairing-message-customization

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-pairing-message-customization 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 Pairing Message Customization?

The Telegram Pairing Message Customization skill is designed to enhance the initial interaction between a user and an Openclaw-powered bot. By default, when an unapproved user attempts to pair, the bot sends a standard message containing a user ID and pairing code. This skill allows developers to modify the source code to include personalized messages, such as community links, help desk instructions, or organizational guidelines, directly within the pairing interface.

By leveraging this specific implementation of Openclaw Skills, administrators can provide a more professional and guided onboarding experience. It eliminates confusion for new users by providing context on why they need approval and how to obtain it, effectively bridging the gap between a raw technical request and a user-friendly greeting.

Telegram Pairing Message Customization Use Cases

  • Adding a link to a private Telegram group or support channel for new applicants.
  • Providing step-by-step instructions on internal approval workflows.
  • Displaying a brief Terms of Service or Privacy Policy reminder before pairing.
  • Directing users to a specific administrator if they encounter issues with the pairing code.

How Telegram Pairing Message Customization Works

  1. Search the local environment for the specific JavaScript code block that handles the bot.api.sendMessage function.
  2. Locate the array of strings that constructs the pairing response message.
  3. Create a backup of the source file to ensure safe rollback if necessary.
  4. Insert a new string entry containing the custom message into the array, positioned above the pairing approval command.
  5. Restart the Openclaw gateway service to compile and apply the changes.
  6. Test the workflow by sending a /start command from an unpaired Telegram account.

Telegram Pairing Message Customization Setup

To implement this with Openclaw Skills, follow these steps:

  1. Locate the file (typically within /usr/lib/node_modules/openclaw/) by searching for the target string:
grep -r "Ask the bot owner to approve with:" /usr/lib/node_modules/openclaw/
  1. Modify the fn block in the identified file to include your message:
// Inside the sendMessage array
"YOUR_CUSTOM_MESSAGE_HERE",
"Ask the bot owner to approve with:",
  1. Restart the service:
openclaw gateway restart

Telegram Pairing Message Customization Data Schema & Taxonomy

Element Type Description
telegramUserId Variable The unique identifier of the Telegram user.
code Variable The dynamic pairing code generated by the system.
custom_message String The user-defined text injected into the notification.
formatCliCommand Function Utility to format the approval command for the bot owner.

Telegram Pairing Message Customization Advanced Features

  • Direct modification of core response arrays for maximum layout control.
  • Supports multi-line strings for complex onboarding instructions.
  • Easily integrable with other Openclaw Skills for broader bot customization.
  • Low-overhead implementation that does not require additional database configurations.

SKILL.md


Loading

Related Openclaw Skills

Featured*