tdl
tdl copied to clipboard
[Bug] tdl can't upload files to private channel/group
Describe the bug
Hi For some reason tdl crashes when I want to upload files to private channel. That doesn't matter whenever I use invite link or channel ID. Upload works when uploading to Saved Messages.
To Reproduce
- Create private channel on telegram
- Try to upload files to it using
tdl -p /path/to/files -c 'channel_id'
Expected behavior
It should start uploading files
Version
0.17.1 release build
Which OS are you running tdl on?
Linux
Additional context
No response
What's your command and flags?
What's your command and flags?
root@elitdesk:/opt/tdl# ./tdl up -p /mnt/Pula -c '[redacted-chat-id]'
Files count: 2386
Error: callback:
github.com/gotd/td/telegram.(*Client).Run.func3
github.com/gotd/[email protected]/telegram/connect.go:151
- get target peer:
github.com/iyear/tdl/app/up.Run
github.com/iyear/tdl/app/up/up.go:49
- failed to get result from [redacted-chat-id]: got empty result for chat [redacted-chat-id]
@iyear any news on this? I really need this feature to work.
BTW Uploading to private groups doesn't work too.
Seems to be issue with new invite link and short ID format, it works fine with old ID format.