25 lines
382 B
Raw Normal View History

2023-04-21 03:03:02 +00:00
package sriracha
import "time"
// Attachment represents an attachment. It may be a normal file or a shortcut
// to an external resource via oEmbed.
type Attachment struct {
ID int
Post int
File string
Size int64
Hash string
Width int
Height int
Thumb string
ThumbWidth int
ThumbHeight int
Uploaded time.Time
// TODO support oEmbed instead of file