Rename Size -> AttachmentSize
parent
814e71920d
commit
6bf95fc751
|
@ -237,12 +237,12 @@ type Attachment struct {
|
||||||
|
|
||||||
// AttachmentMeta holds information for attachment metadata.
|
// AttachmentMeta holds information for attachment metadata.
|
||||||
type AttachmentMeta struct {
|
type AttachmentMeta struct {
|
||||||
Original Size `json:"original"`
|
Original AttachmentSize `json:"original"`
|
||||||
Small Size `json:"small"`
|
Small AttachmentSize `json:"small"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// Size holds information for attatchment size.
|
// AttachmentSize holds information for attatchment size.
|
||||||
type Size struct {
|
type AttachmentSize struct {
|
||||||
Width int64 `json:"width"`
|
Width int64 `json:"width"`
|
||||||
Height int64 `json:"height"`
|
Height int64 `json:"height"`
|
||||||
Size string `json:"size"`
|
Size string `json:"size"`
|
||||||
|
|
Loading…
Reference in New Issue