Merge pull request #41 from m0sth8/m0sth8-patch-1
Fix UserProfilePhotos type
This commit is contained in:
commit
5c46b08c56
1 changed files with 2 additions and 2 deletions
2
types.go
2
types.go
|
@ -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.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue