From sundial-org-awesome-openclaw-skills-4
Compose rich, scannable Telegram messages with HTML formatting via direct API. Supports bold, italic, underline, spoilers, expandable blockquotes, and user mentions by ID. Default for substantive Telegram messages.
How this skill is triggered — by the user, by Claude, or both
Slash command
/sundial-org-awesome-openclaw-skills-4:telegram-composeThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Rich, scannable Telegram messages via direct API with HTML formatting.
Rich, scannable Telegram messages via direct API with HTML formatting.
Bot tokens: Stored in Clawdbot config at channels.telegram.accounts.<name>.botToken
# Get token from config
BOT_TOKEN=$(jq -r '.channels.telegram.accounts.alerts.botToken' ~/.clawdbot/clawdbot.json)
# Or for main bot:
BOT_TOKEN=$(jq -r '.channels.telegram.accounts.main.botToken' ~/.clawdbot/clawdbot.json)
Chat IDs: See TOOLS.md → Telegram section for configured chat IDs.
# Get token and send
BOT_TOKEN=$(jq -r '.channels.telegram.accounts.alerts.botToken' ~/.clawdbot/clawdbot.json)
CHAT_ID="TARGET_CHAT_ID" # See TOOLS.md
curl -s -X POST "https://api.telegram.org/bot${BOT_TOKEN}/sendMessage" \
-H "Content-Type: application/json" \
-d "$(jq -n --arg chat "$CHAT_ID" --arg text "$MESSAGE" '{
chat_id: $chat,
text: $text,
parse_mode: "HTML"
}')"
<b>bold</b> <i>italic</i> <u>underline</u> <s>strike</s>
<code>mono</code> <pre>code block</pre>
<tg-spoiler>hidden until tapped</tg-spoiler>
<blockquote>quote</blockquote>
<blockquote expandable>collapsed by default</blockquote>
<a href="url">link</a>
<a href="tg://user?id=123">mention by ID</a>
Escape in text: < → < > → > & → &
EMOJI <b>HEADING IN CAPS</b>
<b>Label:</b> Value
<b>Label:</b> Value
<b>SECTION</b>
• Bullet point
• Another point
<blockquote>Key quote or summary</blockquote>
<blockquote expandable><b>Details</b>
Hidden content here...
Long details go in expandable blocks.</blockquote>
<a href="https://...">Action Link →</a>
Status update:
📋 <b>TASK COMPLETE</b>
<b>Task:</b> Deploy v2.3
<b>Status:</b> ✅ Done
<b>Duration:</b> 12 min
<blockquote>All health checks passing.</blockquote>
Alert:
⚠️ <b>ATTENTION NEEDED</b>
<b>Issue:</b> API rate limit at 90%
<b>Action:</b> Review usage
<a href="https://dashboard.example.com">View Dashboard →</a>
List:
✅ <b>PRIORITIES</b>
• <s>Review PR #234</s> — done
• <b>Finish docs</b> — in progress
• Deploy staging
<i>2 of 3 complete</i>
EMOJI <b>CAPS TITLE</b> with blank line after<blockquote expandable>Link Text →| Direct API | Clawdbot message tool |
|---|---|
| Structured messages | Quick acknowledgments |
| Status/alerts/reports | Simple replies |
| Need underline/spoiler/expandable | Basic formatting sufficient |
| Visual hierarchy matters | Throwaway messages |
npx claudepluginhub sundial-org/awesome-openclaw-skillsSends messages, images, polls, and formatted content to Telegram channels/groups via the Bot API. Guides bot creation, credential setup, and chat ID retrieval.
Provides Telegram bot tools to send messages, media, locations, contacts, and polls; edit, delete, forward, copy, and pin messages; resolve chats, members, and files. Use when the user mentions Telegram or wants a bot to post or manage content.
Provides full Telegram Bot API integration: BotFather setup, sending/receiving messages, webhooks, inline keyboards, groups, channels, and boilerplate projects in Node.js and Python.