tg-cli - Read-only Telegram CLI via MTProto
Provides read-only access to Telegram data via MTProto to list chats, fetch messages, download media, and manage local accounts.
Tags
Updated: 2026-09-17What this skill does
- List Telegram chats
- Fetch Telegram messages
- List forum topics
- Download message media
- Manage local accounts
Inputs
- Telegram API credentials
- Phone number and OTP code
- Chat identifier or message ID
Outputs
- Downloaded media files
- Local SQLite session files
- System keychain authentication data
- JSON or text format messages
Requirements
- tg binary from tg-mtproto-cli package
- Outbound TCP access to Telegram servers
- System keychain access
- jq binary (optional)
