all repos — telegram-bot-api @ 5c46b08c56fd468151125f847c356a5338548c6a

Golang bindings for the Telegram Bot API

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

Fix UserProfilePhotos type
Syfaro syfaro@foxpaw.in
Sun, 10 Apr 2016 11:09:06 -0500
commit

5c46b08c56fd468151125f847c356a5338548c6a

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.