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.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.int
Duration of the video, in seconds.int
Expected height of the embedded player.Thumbnail of the video; may be null if unknown.URL of the external video player.int
Expected width of the embedded player. -
Constructor Summary
ConstructorsConstructorDescriptionThe link is a link to a video player.LinkPreviewTypeEmbeddedVideoPlayer
(String url, TdApi.Photo thumbnail, int duration, int width, int height) The link is a link to a video player. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns 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. -
thumbnail
Thumbnail of the video; may be null if unknown. -
duration
public int durationDuration of the video, in seconds. -
width
public int widthExpected width of the embedded player. -
height
public int heightExpected height of the embedded player. -
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, TdApi.Photo thumbnail, int duration, int width, int height) The link is a link to a video player.- Parameters:
url
- URL of the external video player.thumbnail
- Thumbnail of the video; may be null if unknown.duration
- Duration of the video, in seconds.width
- Expected width of the embedded player.height
- Expected height of the embedded player.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-