@@ -39,6 +39,7 @@ English | [简体中文](README_zh.md)
3939- Faster than official clients
4040- Download files from (protected) chats
4141- Upload files to Telegram
42+ - Export messages/members/subscribers to JSON
4243
4344## Preview
4445
@@ -402,6 +403,12 @@ tdl up -p /path/to/file -t 8 -s 524288 -l 4
402403tdl up -p /path/to/file --rm
403404```
404405
406+ - Upload images as photos:
407+
408+ ``` shell
409+ tdl up -p /path/to/file --photo
410+ ```
411+
405412- Upload to custom chat:
406413
407414``` shell
@@ -461,6 +468,22 @@ tdl chat ls -f "Type contains 'channel' && VisibleName contains 'Telegram'"
461468tdl chat ls -f " len(Topics)>0"
462469```
463470
471+ - Export chat members/subscribers, admins, bots, etc:
472+
473+ > ** Note**
474+ > Chat admin required
475+
476+ ``` shell
477+ # chat input examples: `@iyear`, `iyear`, `123456789`(chat id), `https://t.me/iyear`, `+1 123456789`
478+
479+ # export all users to tdl-users.json
480+ tdl chat users -c CHAT_INPUT
481+ # export with specified path
482+ tdl chat users -c CHAT_INPUT -o /path/to/export.json
483+ # export Telegram MTProto raw user structure, useful for debugging
484+ tdl chat users -c CHAT_INPUT --raw
485+ ```
486+
464487- Export JSON for ` tdl ` download:
465488
466489``` shell
@@ -525,6 +548,7 @@ What flags mean: [flags](docs/command/tdl.md#options)
525548| TDL_SIZE | ` -s/--size ` |
526549| TDL_THREADS | ` -t/--threads ` |
527550| TDL_LIMIT | ` -l/--limit ` |
551+ | TDL_POOL | ` --pool ` |
528552| TDL_NTP | ` --ntp ` |
529553| TDL_RECONNECT_TIMEOUT | ` --reconnect-timeout ` |
530554| TDL_TEMPLATE | dl ` --template ` |
0 commit comments