Skip to content

Commit 5c46b08

Browse files
author
Syfaro
committed
Merge pull request #41 from m0sth8/m0sth8-patch-1
Fix UserProfilePhotos type
2 parents b971c58 + 511cc74 commit 5c46b08

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

types.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,8 +234,8 @@ type Location struct {
234234

235235
// UserProfilePhotos contains a set of user profile photos.
236236
type UserProfilePhotos struct {
237-
TotalCount int `json:"total_count"`
238-
Photos []PhotoSize `json:"photos"`
237+
TotalCount int `json:"total_count"`
238+
Photos [][]PhotoSize `json:"photos"`
239239
}
240240

241241
// File contains information about a file to download from Telegram.

0 commit comments

Comments
 (0)