skills/skills.volces.com/telegram-history

telegram-history

Installation
SKILL.md

Telegram History

Fetch message history from any Telegram chat using MTProto (Telethon). The Bot API cannot read chat history — this skill uses the user API instead.

Setup

1. Install Telethon

pip3 install telethon

2. Get API credentials

Go to https://my.telegram.org/apps and create an app. Save credentials in the skill directory:

cat > <skill-dir>/api_credentials.json << 'EOF'
{"api_id": YOUR_API_ID, "api_hash": "YOUR_API_HASH"}
EOF
Installs
2
First Seen
Apr 19, 2026