Nekmo / telegram-upload

Upload and download files from Telegram up to 4 GiB using your account
MIT License
1.05k stars 226 forks source link

Telegram-upload cannot see all mediafiles both with -f and -i #250

Open Atomsk-debug opened 5 months ago

Atomsk-debug commented 5 months ago

Description

When using telegram-download -f or --from, the program is not able to see files uploaded before the last text message not containing files was sent. It finds only the last files sent after the last text message in the chat. telegram-upload -i works but there is no option to select all files or multiple files at once, pressing spacebar+arrow down for 300+ files is very tedious. Edit: at first it seems like interactive mode works fine, but checking one by one if every file is listed, it sometimes fails to list some files, once every 20 or so.

What I Did

telegram-download -f channelid

P.S. i've tried and installed on a windows machine with python 3.11 and it behaves in the same way. I thought of just simply forwarding every message, but the channel i want to download files from is not mine and forwarding is restricted. Thank you in advance

Atomsk-debug commented 5 months ago

Screenshot 2024-03-13 122331 As you can see, it skips (and doesn't show even during -i selection) one file precisely every 12 files (3,15,27,39 in the example image)