Package org.drinkless.tdlib
Class TdApi.LinkPreviewTypeExternalVideo
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.LinkPreviewType
org.drinkless.tdlib.TdApi.LinkPreviewTypeExternalVideo
- Enclosing class:
- TdApi
The link is a link to a video file.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.intDuration of the video, in seconds; 0 if unknown.intExpected height of the video preview; 0 if unknown.MIME type of the video file.URL of the video file.intExpected width of the video preview; 0 if unknown. -
Constructor Summary
ConstructorsConstructorDescriptionThe link is a link to a video file.LinkPreviewTypeExternalVideo(String url, String mimeType, int width, int height, int duration) The link is a link to a video file. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
url
URL of the video file. -
mimeType
MIME type of the video file. -
width
public int widthExpected width of the video preview; 0 if unknown. -
height
public int heightExpected height of the video preview; 0 if unknown. -
duration
public int durationDuration of the video, in seconds; 0 if unknown. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
LinkPreviewTypeExternalVideo
public LinkPreviewTypeExternalVideo()The link is a link to a video file. -
LinkPreviewTypeExternalVideo
public LinkPreviewTypeExternalVideo(String url, String mimeType, int width, int height, int duration) The link is a link to a video file.- Parameters:
url- URL of the video file.mimeType- MIME type of the video file.width- Expected width of the video preview; 0 if unknown.height- Expected height of the video preview; 0 if unknown.duration- Duration of the video, in seconds; 0 if unknown.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-