add-telegram

Featured

Add Telegram channel integration via Chat SDK.

AI & Automation 30,743 stars 12840 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 pairing helper, 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. Re-running with a bot already configured can add a second one instead of re-pairing the first; see **Add another bot** under Credentials. ## Apply ### 1. Copy the adapter, helpers, and tests Fetch the `channels` branch and copy the Telegram adapter, its pairing helper (with its test), and the focused adapter tests 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-registration.test.ts src/channels/telegram-connect-group.test.ts src/channels/telegram-instances-registration.test.ts src/channels/telegram-pairing-interceptor.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: ``...

Details

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

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category