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] forward the single of group item #487

Closed
saturn99 opened this issue Feb 4, 2024 · 1 comment
Closed

[BUG] forward the single of group item #487

saturn99 opened this issue Feb 4, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@saturn99
Copy link

saturn99 commented Feb 4, 2024

Describe the bug
If we want to forward only one file from a group of files, tdl will download all files as a group and then forward it.

To Reproduce
In this channel, we have group items including 3 files

image

I want to forward only file 2 with URL https://t.me/TDLTDLTEST/3

If I run this command:
./tdl forward -n xxx --from "https://t.me/TDLTDLTEST/3"
All files in the group will be sent

image

Expected behavior
i expected forward command work similar

./tdl dl -n xxx -t 1  -u "https://t.me/TDLTDLTEST/3" 
./tdl up -n xxx -c "---" -p downloads/ 

Version:

Version: 0.15.1
Commit: 1e605a0
Date: 2024-01-31T14:13:25Z

go1.19.13 linux/amd64

Additional context

in Telegram, these addresses refer to a group item

And Telegram itself uses the ?single parameters to separate this item

As a result, this method can be used to clarify whether the user intends to download a single file or the entire group

@saturn99 saturn99 added the bug Something isn't working label Feb 4, 2024
@iyear
Copy link
Owner

iyear commented Feb 4, 2024

Accepted. tdl will auto detect grouped message and forward all of them. I will add a flag to allow user to forward a single message.

@iyear iyear closed this as completed in fce339c Feb 9, 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