Update bot_test.go for support updated NewInlineQueryResultArticle

pull/49/head
Maxim Martyanov 9 years ago
parent 64f1ab7a89
commit 0a1b57cdf9
No known key found for this signature in database
GPG Key ID: F937B90F5F5D40A2
  1. 2
      bot_test.go

@ -501,7 +501,7 @@ func ExampleAnswerInlineQuery() {
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{