diff --git a/bot.go b/bot.go index d3f6df7..7d39669 100644 --- a/bot.go +++ b/bot.go @@ -364,7 +364,7 @@ func (bot *BotAPI) GetFile(config FileConfig) (File, error) { // instantly instead of having to wait between requests. func (bot *BotAPI) GetUpdates(config UpdateConfig) ([]Update, error) { v := url.Values{} - if config.Offset > 0 { + if config.Offset != 0 { v.Add("offset", strconv.Itoa(config.Offset)) } if config.Limit > 0 {