Fix UserProfilePhotos type Photos field should be Array of Array of PhotoSize.
Slava m0sth8@gmail.com
Sat, 09 Apr 2016 21:30:16 +0100
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
types.go
→
types.go
@@ -234,8 +234,8 @@ }
// UserProfilePhotos contains a set of user profile photos. type UserProfilePhotos struct { - TotalCount int `json:"total_count"` - Photos []PhotoSize `json:"photos"` + TotalCount int `json:"total_count"` + Photos [][]PhotoSize `json:"photos"` } // File contains information about a file to download from Telegram.