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