public class InlineQueryResultVideo extends InlineQueryResult<InlineQueryResultVideo>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MIME_TEXT_HTML |
static java.lang.String |
MIME_VIDEO_MP4 |
Constructor and Description |
---|
InlineQueryResultVideo(java.lang.String id,
java.lang.String videoUrl,
java.lang.String mimeType,
InputMessageContent inputMessageContent,
java.lang.String thumbUrl,
java.lang.String title) |
InlineQueryResultVideo(java.lang.String id,
java.lang.String videoUrl,
java.lang.String mimeType,
java.lang.String messageText,
java.lang.String thumbUrl,
java.lang.String title) |
Modifier and Type | Method and Description |
---|---|
InlineQueryResultVideo |
caption(java.lang.String caption) |
InlineQueryResultVideo |
description(java.lang.String description) |
void |
videoDuration(java.lang.Integer videoDuration) |
InlineQueryResultVideo |
videoHeight(java.lang.Integer videoHeight) |
InlineQueryResultVideo |
videoWidth(java.lang.Integer videoWidth) |
inputMessageContent, replyMarkup
public static final java.lang.String MIME_TEXT_HTML
public static final java.lang.String MIME_VIDEO_MP4
public InlineQueryResultVideo(java.lang.String id, java.lang.String videoUrl, java.lang.String mimeType, java.lang.String messageText, java.lang.String thumbUrl, java.lang.String title)
public InlineQueryResultVideo(java.lang.String id, java.lang.String videoUrl, java.lang.String mimeType, InputMessageContent inputMessageContent, java.lang.String thumbUrl, java.lang.String title)
public InlineQueryResultVideo caption(java.lang.String caption)
public InlineQueryResultVideo videoWidth(java.lang.Integer videoWidth)
public InlineQueryResultVideo videoHeight(java.lang.Integer videoHeight)
public void videoDuration(java.lang.Integer videoDuration)
public InlineQueryResultVideo description(java.lang.String description)