Skip to content

Commit 0a1b57c

Browse files
author
Maxim Martyanov
committed
Update bot_test.go for support updated NewInlineQueryResultArticle
1 parent 64f1ab7 commit 0a1b57c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bot_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ func ExampleAnswerInlineQuery() {
501501
continue
502502
}
503503

504-
article := tgbotapi.NewInlineQueryResultArticle(update.InlineQuery.ID, "Echo", update.InlineQuery.Query)
504+
article := tgbotapi.NewInlineQueryResultArticle(update.InlineQuery.ID, "Echo", update.InlineQuery.Query, "Markdown")
505505
article.Description = update.InlineQuery.Query
506506

507507
inlineConf := tgbotapi.InlineConfig{

0 commit comments

Comments
 (0)