Skip to content
This repository has been archived by the owner on Apr 2, 2022. It is now read-only.

Commit

Permalink
Merge pull request #12 from dennmart/master
Browse files Browse the repository at this point in the history
Update Attachment struct
  • Loading branch information
VojtechVitek committed Feb 5, 2016
2 parents 4f2e82c + 6e9d9b8 commit ec5f9b0
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions attachment.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,18 @@ type Attachment struct {
Id string `json:"id"`
Bytes int `json:"bytes"`
Date string `json:"date"`
EdgeColor []string `json:"edgeColor"`
EdgeColor string `json:"edgeColor"`
IdMember string `json:"idMember"`
IsUpload bool `json:"idUpload"`
IsUpload bool `json:"isUpload"`
MimeType []string `json:"mimeType"`
Name string `json:"name"`
Previews []string `json:"previews"`
Url string `json:"url"`
Previews []struct {
Width int `json:"width"`
Height int `json:"height"`
Url string `json:"url"`
Bytes int `json:"bytes"`
Id string `json:"_id"`
Scaled bool `json:"scaled"`
} `json:"previews"`
Url string `json:"url"`
}

0 comments on commit ec5f9b0

Please sign in to comment.