iyear / tdl

📥 A Telegram toolkit written in Golang
https://docs.iyear.me/tdl
GNU Affero General Public License v3.0
4.24k stars 431 forks source link

[Bug] Forward: open : The system cannot find the file specified. #656

Closed konglquan closed 3 months ago

konglquan commented 3 months ago

Describe the bug

This error occurs when forwarding a message

Error: callback: github.com/gotd/td/telegram.(*Client).Run.func3 github.com/gotd/td@v0.102.0/telegram/connect.go:151

To Reproduce

tdl -n xiaoke forward --from https://t.me/c/xxxxx/8 --to xxxxxx --proxy socks5://localhost:7898

Expected behavior

done!

Version

Version: 0.17.1 Commit: 7f4e543 Date: 2024-05-29T14:50:17Z

go1.21.10 windows/amd64

Which OS are you running tdl on?

Windows

Additional context

No response

iyear commented 3 months ago

Try tdl -n xiaoke forward --from 'https://t.me/c/xxxxx/8' --to 'xxxxxx' --proxy 'socks5://localhost:7898'

This is not related to the implementation of tdl and it specifically concerns your shell. The shell did not correctly pass the --from flag, resulting in a recognition error.

iyear commented 3 months ago

If you have any problems, you can reopen the issue again.