| Package | Description |
|---|---|
| pro.zackpollard.telegrambot.api.chat.inline.send.results |
| Modifier and Type | Method and Description |
|---|---|
static InlineQueryResultArticle.InlineQueryResultArticleBuilder |
InlineQueryResultArticle.builder()
This builder will allow you to progressively construct this object.
|
InlineQueryResultArticle.InlineQueryResultArticleBuilder |
InlineQueryResultArticle.InlineQueryResultArticleBuilder.description(String description)
*Optional*
Sets a short description of the result to be shown in the inline result selection pane
|
InlineQueryResultArticle.InlineQueryResultArticleBuilder |
InlineQueryResultArticle.InlineQueryResultArticleBuilder.hideUrl(boolean hideUrl)
*Optional*
Sets whether to hide the URL when the message is sent.
|
InlineQueryResultArticle.InlineQueryResultArticleBuilder |
InlineQueryResultArticle.InlineQueryResultArticleBuilder.id(String id)
*Optional*
Sets the ID to the provided value.
|
InlineQueryResultArticle.InlineQueryResultArticleBuilder |
InlineQueryResultArticle.InlineQueryResultArticleBuilder.inputMessageContent(InputMessageContent inputMessageContent)
*Required*
Sets the content you want to be sent with this result to the provided InputMessageContent object
|
InlineQueryResultArticle.InlineQueryResultArticleBuilder |
InlineQueryResultArticle.InlineQueryResultArticleBuilder.replyMarkup(InlineReplyMarkup replyMarkup)
*Optional*
Sets the inline keyboard attached to this message to the InlineReplyMarkup provided
|
InlineQueryResultArticle.InlineQueryResultArticleBuilder |
InlineQueryResultArticle.InlineQueryResultArticleBuilder.thumbHeight(int thumbHeight)
*Optional*
Sets the height of the thumbnail at the previously provided URL through
thumbUrl(URL) |
InlineQueryResultArticle.InlineQueryResultArticleBuilder |
InlineQueryResultArticle.InlineQueryResultArticleBuilder.thumbUrl(URL thumbUrl)
*Optional*
Sets the URL of the thumbnail that should show next to the result in the inline result selection pane
|
InlineQueryResultArticle.InlineQueryResultArticleBuilder |
InlineQueryResultArticle.InlineQueryResultArticleBuilder.thumbWidth(int thumbWidth)
*Optional*
Sets the width of the thumbnail at the previously provided URL through
thumbUrl(URL) |
InlineQueryResultArticle.InlineQueryResultArticleBuilder |
InlineQueryResultArticle.InlineQueryResultArticleBuilder.title(String title)
*Required*
Sets the title to the provided value
|
InlineQueryResultArticle.InlineQueryResultArticleBuilder |
InlineQueryResultArticle.InlineQueryResultArticleBuilder.url(URL url)
*Optional*
Sets the URL of the result
|
Copyright © 2017. All rights reserved.