
This is a comprehensive Telegram integration that handles everything from fetching and searching messages to sending, editing, and publishing content. It wraps the telegram_dl library with commands for listing chats, pulling unread messages, downloading attachments, and even managing forum threads. The publish command is particularly well thought out: it parses draft frontmatter, validates channels, extracts media references, and appends footers automatically. You'll need API credentials from my.telegram.org to get started. The markdown conversion in send commands requires an explicit flag, which is a bit of a gotcha if you're used to auto-detection, but the edit and download features work smoothly once you have message IDs from recent or search queries.
$ npx -y skills add glebis/claude-skills --skill telegram --agent claude-codeInstalls into .claude/skills of the current project.
Fetch, search, download, send, and publish Telegram messages with flexible filtering and output options.
Authentication must be configured in ~/.telegram_dl/. Run setup command to check status or get instructions:
python3 scripts/telegram_fetch.py setup
If not configured, follow these steps:
python telegram_dl.py and follow interactive promptspython3 scripts/telegram_fetch.py setupRun the script at scripts/telegram_fetch.py with appropriate commands:
# List available chats
python3 scripts/telegram_fetch.py list
# Get recent messages
python3 scripts/telegram_fetch.py recent --limit 20
# Search messages
python3 scripts/telegram_fetch.py search "meeting"
# Get unread messages
python3 scripts/telegram_fetch.py unread
To see available Telegram chats:
Sponsors