Update bot_test.go for support updated NewInlineQueryResultArticle
Maxim Martyanov me@llorephie.org
Thu, 02 Jun 2016 22:53:44 +0300
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
bot_test.go
→
bot_test.go
@@ -501,7 +501,7 @@ if update.InlineQuery == nil { // if no inline query, ignore it
continue } - article := tgbotapi.NewInlineQueryResultArticle(update.InlineQuery.ID, "Echo", update.InlineQuery.Query) + article := tgbotapi.NewInlineQueryResultArticle(update.InlineQuery.ID, "Echo", update.InlineQuery.Query, "Markdown") article.Description = update.InlineQuery.Query inlineConf := tgbotapi.InlineConfig{