public class InlineQueryResultVideo extends Object implements InlineQueryResult
| Modifier and Type | Class and Description |
|---|---|
static class |
InlineQueryResultVideo.InlineQueryResultVideoBuilder |
| Constructor and Description |
|---|
InlineQueryResultVideo() |
| Modifier and Type | Method and Description |
|---|---|
static InlineQueryResultVideo.InlineQueryResultVideoBuilder |
builder()
This builder will allow you to progressively construct this object.
|
String |
getCaption()
Gets the caption for the result
|
String |
getDescription()
Gets the description of the result
|
String |
getId()
Gets the ID of this InlineQueryResult object
|
InputMessageContent |
getInputMessageContent()
Gets the content of the message to be sent instead of the video
|
String |
getMimeType()
Gets the mime type of the video file.
|
InlineReplyMarkup |
getReplyMarkup()
Gets the inline keyboard attached to this message
|
URL |
getThumbUrl()
Gets the URL of the thumbnail for the result
|
String |
getTitle()
Gets the title of the result
|
InlineQueryResultType |
getType()
Get the type of InlineQueryResult that this object refers to
|
int |
getVideoDuration()
Gets the duration of the video
|
int |
getVideoHeight()
Gets the height of the video
|
URL |
getVideoUrl()
Gets the URL of the video
|
int |
getVideoWidth()
Gets the width of the video
|
public static InlineQueryResultVideo.InlineQueryResultVideoBuilder builder()
public InlineQueryResultType getType()
getType in interface InlineQueryResult@NonNull public String getId()
@NonNull public URL getVideoUrl()
@NonNull public String getMimeType()
@NonNull public URL getThumbUrl()
public int getVideoWidth()
public int getVideoHeight()
public String getTitle()
public String getCaption()
public int getVideoDuration()
public String getDescription()
public InlineReplyMarkup getReplyMarkup()
public InputMessageContent getInputMessageContent()
Copyright © 2017. All rights reserved.