all repos — telegram-bot-api @ 511cc7406df899a3b8f4dfd2dc314272013a6c04

Golang bindings for the Telegram Bot API

Fix UserProfilePhotos type

Photos field should be Array of Array of PhotoSize.
Slava m0sth8@gmail.com
Sat, 09 Apr 2016 21:30:16 +0100
commit

511cc7406df899a3b8f4dfd2dc314272013a6c04

parent

b971c58157dcf22debf47dee7fc8af15492d2a73

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M types.gotypes.go

@@ -234,8 +234,8 @@ }

// 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.