From 7634d220758b02a7dbed6eda5bfaef3ff6b2dded Mon Sep 17 00:00:00 2001 From: Andrey Date: Wed, 27 Jul 2016 17:09:33 +0300 Subject: [PATCH] Fix GetUserProfilePhotos. --- bot.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bot.go b/bot.go index 8311405..cbbdc4f 100644 --- a/bot.go +++ b/bot.go @@ -406,8 +406,8 @@ func (bot *Bot) GetUserProfilePhotos(userID int64, options *GetUserProfilePhotos } if options != nil { - params["limit"] = []string{fmt.Sprintf("%d", options.limit)} - params["offset"] = []string{fmt.Sprintf("%d", options.offset)} + params["limit"] = []string{fmt.Sprintf("%d", options.Limit)} + params["offset"] = []string{fmt.Sprintf("%d", options.Offset)} } profilePhotos := new(UserProfilePhotos)