Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] tdl can't upload files to private channel/group #649

Closed
the4anoni opened this issue Jun 16, 2024 · 4 comments
Closed

[Bug] tdl can't upload files to private channel/group #649

the4anoni opened this issue Jun 16, 2024 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@the4anoni
Copy link

the4anoni commented Jun 16, 2024

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

  1. Create private channel on telegram
  2. 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

@the4anoni the4anoni added the bug Something isn't working label Jun 16, 2024
@iyear
Copy link
Owner

iyear commented Jun 16, 2024

What's your command and flags?

@the4anoni
Copy link
Author

the4anoni commented Jun 16, 2024

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/td@v0.102.0/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]

@the4anoni
Copy link
Author

@iyear any news on this? I really need this feature to work.

BTW Uploading to private groups doesn't work too.

@the4anoni the4anoni changed the title [Bug] tdl can't upload files to private channel [Bug] tdl can't upload files to private channel/group Jun 22, 2024
@the4anoni
Copy link
Author

Seems to be issue with new invite link and short ID format, it works fine with old ID format.

@iyear iyear closed this as completed Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants