diff --git a/v1/types.go b/v1/types.go index 78290e4..2bef0f7 100644 --- a/v1/types.go +++ b/v1/types.go @@ -437,10 +437,13 @@ type ( } Attachment struct { - ID uint64 `json:"id"` - Mime string `json:"type"` - Caption string `json:"caption"` - Size uint64 `json:"size"` + ID uint64 `json:"id"` + Mime string `json:"type"` + Caption string `json:"caption"` + Size uint64 `json:"size"` + PreviewURL *string `json:"preview_url,omitempty"` + Height *uint64 `json:"height,omitempty"` + Width *uint64 `json:"width,omitempty"` } MessageProduct struct {