Add custom messages to Telegram pairing replies for unapproved users. Insert custom text (e.g., group links, instructions) above the approval command in pairing messages. Use when unpaired Telegram users need additional guidance during the pairing process.
Scanned 9/7/2026
Install to Claude Code
npx -y skills add Demerzels-lab/elsamultiskillagent --skill telegram-pairing-message-customization --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Telegram Pairing Message Customization?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/demerzels-lab-telegram-pairing-message-customization)More formats (shields.io, HTML) on the badges page.
---
name: telegram-pairing-message-customization
description: Add custom messages to Telegram pairing replies for unapproved users. Insert custom text (e.g., group links, instructions) above the approval command in pairing messages. Use when unpaired Telegram users need additional guidance during the pairing process.
---
# Telegram 配对消息自定义
## request
实施本技能时, 需要用户提供一份 自定义消息
## 实施内容
目标文件:`/usr/lib/node_modules/openclaw/dist/telegram/bot-message-context.js`
修改前备份, 方便以后撤销实施
在数组中 "Ask the bot owner to approve with:" 项上方添加自定义消息:
修改前
```javascript
fn: () => bot.api.sendMessage(chatId, [
"OpenClaw: access not configured.",
"",
`Your Telegram user id: ${telegramUserId}`,
"",
`Pairing code: ${code}`,
"",
"Ask the bot owner to approve with:",
formatCliCommand("openclaw pairing approve telegram <code>"),
].join("\n")),
```
修改后
```javascript
fn: () => bot.api.sendMessage(chatId, [
"OpenClaw: access not configured.",
"",
`Your Telegram user id: ${telegramUserId}`,
"",
`Pairing code: ${code}`,
"",
"YOUR_CUSTOM_MESSAGE_HERE", // <- 插入自定义消息
"Ask the bot owner to approve with:",
formatCliCommand("openclaw pairing approve telegram <code>"),
].join("\n")),
```
## 完成配置
修改完成后重启服务:
```bash
openclaw gateway restart
```
验证:让未配对用户发送 `/start` 命令,确认收到带自定义信息的配对消息。Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!