Fix UserProfilePhotos type

Photos field should be Array of Array of PhotoSize.
bot-api-6.1
Slava 2016-04-09 21:30:16 +01:00
parent b971c58157
commit 511cc7406d
1 changed files with 2 additions and 2 deletions

View File

@ -235,7 +235,7 @@ type Location struct {
// UserProfilePhotos contains a set of user profile photos. // UserProfilePhotos contains a set of user profile photos.
type UserProfilePhotos struct { type UserProfilePhotos struct {
TotalCount int `json:"total_count"` TotalCount int `json:"total_count"`
Photos []PhotoSize `json:"photos"` Photos [][]PhotoSize `json:"photos"`
} }
// File contains information about a file to download from Telegram. // File contains information about a file to download from Telegram.