Skip to content

Commit

Permalink
Merge pull request #875 from p1ass/master
Browse files Browse the repository at this point in the history
Add missing `Image512` field in `UserProfile`
  • Loading branch information
kanata2 committed Dec 22, 2020
2 parents e96a248 + 767ab99 commit 2133f59
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions users.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ type UserProfile struct {
Image48 string `json:"image_48"`
Image72 string `json:"image_72"`
Image192 string `json:"image_192"`
Image512 string `json:"image_512"`
ImageOriginal string `json:"image_original"`
Title string `json:"title"`
BotID string `json:"bot_id,omitempty"`
Expand Down
1 change: 1 addition & 0 deletions users_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ func getTestUserProfile() UserProfile {
Image48: "https://s3-us-west-2.amazonaws.com/slack-files2/avatars/2016-10-18/92962080834_ef14c1469fc0741caea1_48.jpg",
Image72: "https://s3-us-west-2.amazonaws.com/slack-files2/avatars/2016-10-18/92962080834_ef14c1469fc0741caea1_72.jpg",
Image192: "https://s3-us-west-2.amazonaws.com/slack-files2/avatars/2016-10-18/92962080834_ef14c1469fc0741caea1_192.jpg",
Image512: "https://s3-us-west-2.amazonaws.com/slack-files2/avatars/2016-10-18/92962080834_ef14c1469fc0741caea1_512.jpg",
Fields: getTestUserProfileCustomFields(),
}
}
Expand Down

0 comments on commit 2133f59

Please sign in to comment.