public static class TdApi.InputInlineQueryResultAnimation extends TdApi.InputInlineQueryResult
TdApi.InputInlineQueryResult.Constructors
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
id
Unique identifier of the query result.
|
TdApi.InputMessageContent |
inputMessageContent
The content of the message to be sent.
|
TdApi.ReplyMarkup |
replyMarkup
The message reply markup; pass null if none.
|
java.lang.String |
thumbnailMimeType
MIME type of the video thumbnail.
|
java.lang.String |
thumbnailUrl
URL of the result thumbnail (JPEG, GIF, or MPEG4), if it exists.
|
java.lang.String |
title
Title of the query result.
|
int |
videoDuration
Duration of the video, in seconds.
|
int |
videoHeight
Height of the video.
|
java.lang.String |
videoMimeType
MIME type of the video file.
|
java.lang.String |
videoUrl
The URL of the video file (file size must not exceed 1MB).
|
int |
videoWidth
Width of the video.
|
Constructor and Description |
---|
InputInlineQueryResultAnimation()
Represents a link to an animated GIF or an animated (i.e., without sound) H.264/MPEG-4 AVC video.
|
InputInlineQueryResultAnimation(java.lang.String id,
java.lang.String title,
java.lang.String thumbnailUrl,
java.lang.String thumbnailMimeType,
java.lang.String videoUrl,
java.lang.String videoMimeType,
int videoDuration,
int videoWidth,
int videoHeight,
TdApi.ReplyMarkup replyMarkup,
TdApi.InputMessageContent inputMessageContent)
Represents a link to an animated GIF or an animated (i.e., without sound) H.264/MPEG-4 AVC video.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public java.lang.String id
public java.lang.String title
public java.lang.String thumbnailUrl
public java.lang.String thumbnailMimeType
public java.lang.String videoUrl
public java.lang.String videoMimeType
public int videoDuration
public int videoWidth
public int videoHeight
public TdApi.ReplyMarkup replyMarkup
public TdApi.InputMessageContent inputMessageContent
public static final int CONSTRUCTOR
public InputInlineQueryResultAnimation()
public InputInlineQueryResultAnimation(java.lang.String id, java.lang.String title, java.lang.String thumbnailUrl, java.lang.String thumbnailMimeType, java.lang.String videoUrl, java.lang.String videoMimeType, int videoDuration, int videoWidth, int videoHeight, TdApi.ReplyMarkup replyMarkup, TdApi.InputMessageContent inputMessageContent)
id
- Unique identifier of the query result.title
- Title of the query result.thumbnailUrl
- URL of the result thumbnail (JPEG, GIF, or MPEG4), if it exists.thumbnailMimeType
- MIME type of the video thumbnail. If non-empty, must be one of "image/jpeg", "image/gif" and "video/mp4".videoUrl
- The URL of the video file (file size must not exceed 1MB).videoMimeType
- MIME type of the video file. Must be one of "image/gif" and "video/mp4".videoDuration
- Duration of the video, in seconds.videoWidth
- Width of the video.videoHeight
- Height of the video.replyMarkup
- The message reply markup; pass null if none. Must be of type replyMarkupInlineKeyboard or null.inputMessageContent
- The content of the message to be sent. Must be one of the following types: inputMessageText, inputMessageAnimation, inputMessageInvoice, inputMessageLocation, inputMessageVenue or inputMessageContact.public int getConstructor()
getConstructor
in class TdApi.InputInlineQueryResult