Closed smashkins closed 10 months ago
Name template from json file.
tdl dl -f tdl-export.json --template "{{ .Filename }}-{{ .MessageDate }}"
Error callback:
Error: callback: github.com/gotd/td/telegram.(*Client).Run.func3 github.com/gotd/td@v0.89.0/telegram/connect.go:151 - iter: github.com/iyear/tdl/pkg/downloader.(*Downloader).Download github.com/iyear/tdl/pkg/downloader/downloader.go:59 - execute template: github.com/iyear/tdl/app/dl.(*iter).process github.com/iyear/tdl/app/dl/iter.go:175 - template: dl:1:3: executing "dl" at <.Filename>: can't evaluate field Filename in type *dl.fileTemplate
It's FileName not Filename
FileName
Filename
Name template from json file.
Error callback: