Package org.drinkless.tdlib
Class TdApi.LinkPreviewTypeExternalAudio
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.LinkPreviewType
org.drinkless.tdlib.TdApi.LinkPreviewTypeExternalAudio
- Enclosing class:
- TdApi
The link is a link to an audio file.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionThe link is a link to an audio file.LinkPreviewTypeExternalAudio
(String url, String mimeType, int duration) The link is a link to an audio file. -
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 audio file. -
mimeType
MIME type of the audio file. -
duration
public int durationDuration of the audio, in seconds; 0 if unknown. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
LinkPreviewTypeExternalAudio
public LinkPreviewTypeExternalAudio()The link is a link to an audio file. -
LinkPreviewTypeExternalAudio
The link is a link to an audio file.- Parameters:
url
- URL of the audio file.mimeType
- MIME type of the audio file.duration
- Duration of the audio, in seconds; 0 if unknown.
-
-
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
-