Update bot_test.go for support updated NewInlineQueryResultArticle

bot-api-6.1
Maxim Martyanov 2016-06-02 22:53:44 +03:00
parent 64f1ab7a89
commit 0a1b57cdf9
No known key found for this signature in database
GPG Key ID: F937B90F5F5D40A2
1 changed files with 1 additions and 1 deletions

View File

@ -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{