java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.InputInlineQueryResult
it.tdlight.jni.TdApi.InputInlineQueryResultAnimation
- Enclosing class:
- TdApi
Represents a link to an animated GIF
or an animated (i.e., without sound)
H.264/MPEG-4 AVC video.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Unique identifier of the query result.The content of the message to be sent.The message reply markup; pass null if none.MIME type of the video thumbnail.URL of the result thumbnail (JPEG, GIF, or MPEG4), if it exists.Title of the query result.int
Duration of the video, in seconds.int
Height of the video.MIME type of the video file.The URL of the video file (file size must not exceed 1MB).int
Width of the video. -
Constructor Summary
ConstructorDescriptionRepresents a link to an animated GIF or an animated (i.e., without sound) H.264/MPEG-4 AVC video.InputInlineQueryResultAnimation
(String id, String title, String thumbnailUrl, String thumbnailMimeType, String videoUrl, 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. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
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
public int videoDurationDuration of the video, in seconds. -
videoWidth
public int videoWidthWidth of the video. -
videoHeight
public int videoHeightHeight 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. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
InputInlineQueryResultAnimation
public InputInlineQueryResultAnimation()Represents a link to an animated GIF or an animated (i.e., without sound) H.264/MPEG-4 AVC video. -
InputInlineQueryResultAnimation
public InputInlineQueryResultAnimation(String id, String title, String thumbnailUrl, String thumbnailMimeType, String videoUrl, 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.- Parameters:
id
- String Unique identifier of the query result.title
- String Title of the query result.thumbnailUrl
- String URL of the result thumbnail (JPEG, GIF, or MPEG4), if it exists.thumbnailMimeType
- String MIME type of the video thumbnail. If non-empty, must be one of "image/jpeg", "image/gif" and "video/mp4".videoUrl
- String The URL of the video file (file size must not exceed 1MB).videoMimeType
- String MIME type of the video file. Must be one of "image/gif" and "video/mp4".videoDuration
- int Duration of the video, in seconds.videoWidth
- int Width of the video.videoHeight
- int Height of the video.replyMarkup
- ReplyMarkup The message reply markup; pass null if none. Must be of type replyMarkupInlineKeyboard or null.inputMessageContent
- InputMessageContent The content of the message to be sent. Must be one of the following types: inputMessageText, inputMessageAnimation, inputMessageInvoice, inputMessageLocation, inputMessageVenue or inputMessageContact.
-
InputInlineQueryResultAnimation
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-