How aron1cx/aiofasttelethonhelper works
AIOFastTelethonHelper is an async Telethon file-transfer library. Its public workflow opens local files, transfers chunks in parallel through Telethon, and returns a download path or upload handle; optional callbacks report progress. Transfer and sender wiring is based on sampled source, while Telethon and local files are external dependencies.
Main entry points: methods.py File Methods · __init__.py Upload And Download API · transfer.py Parallel Transferrer · senders.py Upload And Download Senders
Components 12
Public API
- Upload And Download API
aiofasttelethonhelper/core/__init__.py - File Methods
aiofasttelethonhelper/core/methods.py
Transfer Engine
- Parallel Transferrer
aiofasttelethonhelper/core/transfer.py - Upload And Download Senders
aiofasttelethonhelper/core/senders.py
I/O And Progress
- Chunk Reader
aiofasttelethonhelper/core/util.py - Progress Bar Helper
aiofasttelethonhelper/utils.py
Other components
- Application
- Local Files
- Async File I/O
- Telethon Client
- Telegram MTProto
- Progress Callback
Connections 14
- Application → Upload And Download API: calls
- Upload And Download API → Async File I/O: opens files
- Async File I/O → Local Files: reads and writes
- Upload And Download API → File Methods: invokes
- File Methods → Parallel Transferrer: starts transfer
- Parallel Transferrer → Upload And Download Senders: creates and schedules
- Upload And Download Senders → Telethon Client: sends requests via
- Parallel Transferrer → Telethon Client: connects and authorizes
- Telethon Client → Telegram MTProto: communicates
- File Methods → Chunk Reader: reads upload chunks
- File Methods → Progress Callback: reports progress
- Application → Progress Bar Helper: may supply
- Progress Bar Helper → File Methods: used as callback
- File Methods → Upload And Download API: returns transfer result