Fix broken inline queries.

This commit is contained in:
Syfaro 2016-01-17 23:34:12 -06:00
parent baf170548c
commit 67ab387694
3 changed files with 17 additions and 16 deletions

2
bot.go
View file

@ -483,5 +483,7 @@ func (bot *BotAPI) AnswerInlineQuery(config InlineConfig) (APIResponse, error) {
}
v.Add("results", string(data))
bot.debugLog("answerInlineQuery", v, nil)
return bot.MakeRequest("answerInlineQuery", v)
}