Update bot_test.go for support updated NewInlineQueryResultArticle
parent
64f1ab7a89
commit
0a1b57cdf9
|
@ -501,7 +501,7 @@ func ExampleAnswerInlineQuery() {
|
||||||
continue
|
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
|
article.Description = update.InlineQuery.Query
|
||||||
|
|
||||||
inlineConf := tgbotapi.InlineConfig{
|
inlineConf := tgbotapi.InlineConfig{
|
||||||
|
|
Loading…
Reference in New Issue