Package org.drinkless.tdlib
Class TdApi.LinkPreviewTypeEmbeddedVideoPlayer
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.LinkPreviewType
org.drinkless.tdlib.TdApi.LinkPreviewTypeEmbeddedVideoPlayer
- Enclosing class:
- TdApi
The link is a link to a video player.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.drinkless.tdlib.TdApi.LinkPreviewType
TdApi.LinkPreviewType.Constructors -
Field Summary
FieldsModifier and TypeFieldDescriptionAuthor of the video.static final intIdentifier uniquely determining type of the object.intDuration of the video, in seconds.intExpected height of the preview.URL of the external video player.intExpected width of the preview. -
Constructor Summary
ConstructorsConstructorDescriptionThe link is a link to a video player.LinkPreviewTypeEmbeddedVideoPlayer(String url, int duration, String author, int width, int height) The link is a link to a video player. -
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 external video player. -
duration
public int durationDuration of the video, in seconds. -
author
Author of the video. -
width
public int widthExpected width of the preview. -
height
public int heightExpected height of the preview. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
LinkPreviewTypeEmbeddedVideoPlayer
public LinkPreviewTypeEmbeddedVideoPlayer()The link is a link to a video player. -
LinkPreviewTypeEmbeddedVideoPlayer
public LinkPreviewTypeEmbeddedVideoPlayer(String url, int duration, String author, int width, int height) The link is a link to a video player.- Parameters:
url- URL of the external video player.duration- Duration of the video, in seconds.author- Author of the video.width- Expected width of the preview.height- Expected height of the preview.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.LinkPreviewType- Returns:
- this.CONSTRUCTOR
-