Merge pull request #41 from m0sth8/m0sth8-patch-1

Fix UserProfilePhotos type
bot-api-6.1
Syfaro 2016-04-10 11:09:06 -05:00
commit 5c46b08c56
1 changed files with 2 additions and 2 deletions

View File

@ -234,8 +234,8 @@ type Location struct {
// 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.