Package org.drinkless.tdlib
Class TdApi.LinkPreviewTypeEmbeddedAudioPlayer
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.LinkPreviewType
org.drinkless.tdlib.TdApi.LinkPreviewTypeEmbeddedAudioPlayer
- Enclosing class:
- TdApi
The link is a link to an audio player.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.drinkless.tdlib.TdApi.LinkPreviewType
TdApi.LinkPreviewType.Constructors -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionThe link is a link to an audio player.LinkPreviewTypeEmbeddedAudioPlayer(String url, int duration, String author) The link is a link to an audio 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 audio player. -
duration
public int durationDuration of the audio, in seconds. -
author
Author of the audio. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
LinkPreviewTypeEmbeddedAudioPlayer
public LinkPreviewTypeEmbeddedAudioPlayer()The link is a link to an audio player. -
LinkPreviewTypeEmbeddedAudioPlayer
The link is a link to an audio player.- Parameters:
url- URL of the external audio player.duration- Duration of the audio, in seconds.author- Author of the audio.
-
-
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
-