public static class TdApi.LinkPreviewTypeExternalAudio extends TdApi.LinkPreviewType
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
duration
Duration of the audio, in seconds; 0 if unknown.
|
java.lang.String |
mimeType
MIME type of the audio file.
|
java.lang.String |
url
URL of the audio file.
|
| Constructor and Description |
|---|
LinkPreviewTypeExternalAudio()
The link is a link to an audio file.
|
LinkPreviewTypeExternalAudio(java.lang.String url,
java.lang.String mimeType,
int duration)
The link is a link to an audio file.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic java.lang.String url
public java.lang.String mimeType
public int duration
public static final int CONSTRUCTOR
public LinkPreviewTypeExternalAudio()
public LinkPreviewTypeExternalAudio(java.lang.String url,
java.lang.String mimeType,
int duration)
url - URL of the audio file.mimeType - MIME type of the audio file.duration - Duration of the audio, in seconds; 0 if unknown.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object