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