Fix UserProfilePhotos type
Photos field should be Array of Array of PhotoSize.bot-api-6.1
parent
b971c58157
commit
511cc7406d
4
types.go
4
types.go
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue