feat: support media photo download

This commit is contained in:
krau
2025-01-20 11:03:01 +08:00
parent a146871a9d
commit 45974917f2
6 changed files with 108 additions and 14 deletions

View File

@@ -49,9 +49,7 @@ func (t Task) FileName() string {
}
type File struct {
Location *tg.InputDocumentFileLocation
Location tg.InputFileLocationClass
FileSize int64
FileName string
MimeType string
ID int64
}