Class TdApi.LinkPreviewTypeEmbeddedAnimationPlayer
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.LinkPreviewType
dev.voroby.springframework.telegram.client.TdApi.LinkPreviewTypeEmbeddedAnimationPlayer
- Enclosing class:
- TdApi
The link is a link to an animation player.
-
Field Summary
Modifier and TypeFieldDescriptionAuthor of the animation.static final int
Identifier uniquely determining type of the object.int
Duration of the animation, in seconds.int
Expected height of the embedded player.Thumbnail of the animation; may be null if unknown.URL of the external animation player.int
Expected width of the embedded player. -
Constructor Summary
ConstructorDescriptionThe link is a link to an animation player.LinkPreviewTypeEmbeddedAnimationPlayer
(String url, TdApi.Photo thumbnail, int duration, String author, int width, int height) The link is a link to an animation player. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object
toString
-
Field Details
-
url
URL of the external animation player. -
thumbnail
Thumbnail of the animation; may be null if unknown. -
duration
public int durationDuration of the animation, in seconds. -
author
Author of the animation. -
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
-
LinkPreviewTypeEmbeddedAnimationPlayer
public LinkPreviewTypeEmbeddedAnimationPlayer()The link is a link to an animation player. -
LinkPreviewTypeEmbeddedAnimationPlayer
public LinkPreviewTypeEmbeddedAnimationPlayer(String url, TdApi.Photo thumbnail, int duration, String author, int width, int height) The link is a link to an animation player.- Parameters:
url
- URL of the external animation player.thumbnail
- Thumbnail of the animation; may be null if unknown.duration
- Duration of the animation, in seconds.author
- Author of the animation.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
-