add-telegram

Featured

Add Telegram channel integration via Chat SDK.

AI & Automation 30,388 stars 12875 forks Updated today MIT

Install

View on GitHub

Quality Score: 92/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Add Telegram Channel Adds Telegram bot support via the Chat SDK bridge. NanoClaw doesn't ship channels in trunk — this skill copies the Telegram adapter, its formatting/pairing helpers, and their tests in from the `channels` branch. The `pair-telegram` setup step is maintained in trunk, so it is not copied here. The mechanical steps under **Apply** carry `nc:` directive fences: an agent reads the prose and applies them, and a parser can apply them deterministically from the same document. Every directive is idempotent, so the whole skill is safe to re-run; anything a parser can't apply falls back to the prose beside it. ## Apply ### 1. Copy the adapter, helpers, and tests Fetch the `channels` branch and copy the Telegram adapter, its pairing and markdown-sanitize helpers (with their tests), and the registration test into place (overwrite — the branch is canonical): ```nc:copy from-branch:channels src/channels/telegram.ts src/channels/telegram-pairing.ts src/channels/telegram-pairing.test.ts src/channels/telegram-markdown-sanitize.ts src/channels/telegram-markdown-sanitize.test.ts src/channels/telegram-registration.test.ts ``` ### 2. Register the adapter Append the self-registration import to the channel barrel (skipped if the line is already present). This one line is the skill's only reach-in into core: ```nc:append to:src/channels/index.ts import './telegram.js'; ``` ### 3. Register the pairing setup step Add the `pair-telegram` loader to the `STEPS` map in `se...

Details

Author
nanocoai
Repository
nanocoai/nanoclaw
Created
5 months ago
Last Updated
today
Language
TypeScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category