Command-line options
The authoritative list is ./dumper.py --help; this page mirrors it.
Flag |
Effect |
|---|---|
|
Telegram bot token to dump. If omitted, the script prompts for one. |
|
Walk message ids downwards, auto-probing the max id when
|
|
Dump downwards starting from message id |
|
Continue an interrupted downward dump from the id saved in
|
|
Don’t dump history; watch for new messages in real time. On the first one, offers to start a downward dump from its id. |
|
Number of message ids requested per cycle (default |
|
After an all-empty batch, keep scanning |
|
Skip downloading user profile photos (avatars). |
|
Skip downloading photos and documents inside messages; metadata is still written to the text history. |
|
Don’t write per-chat |
|
Write users to a single |
|
Route through a local Tor SOCKS5 proxy on |
|
Directory to save the dump (default |
|
Exit after dumping history instead of listening for new messages. |
Credentials are not flags: API_ID and API_HASH are read from the
environment (see Quick start).