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