Instant upload

This commit is contained in:
2024-03-24 19:01:18 +08:00
parent 93d959e7a6
commit fb0c7860e0
6 changed files with 110 additions and 37 deletions

View File

@ -23,6 +23,7 @@ type Attachment struct {
Filesize int64 `json:"filesize"`
Filename string `json:"filename"`
Mimetype string `json:"mimetype"`
Hashcode string `json:"hashcode"`
Type AttachmentType `json:"type"`
ExternalUrl string `json:"external_url"`
Author Account `json:"author"`