public static class TdApi.LinkPreviewTypeEmbeddedAudioPlayer 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.
|
int |
height
Expected height of the embedded player.
|
TdApi.Photo |
thumbnail
Thumbnail of the audio; may be null if unknown.
|
java.lang.String |
url
URL of the external audio player.
|
int |
width
Expected width of the embedded player.
|
| Constructor and Description |
|---|
LinkPreviewTypeEmbeddedAudioPlayer()
The link is a link to an audio player.
|
LinkPreviewTypeEmbeddedAudioPlayer(java.lang.String url,
TdApi.Photo thumbnail,
int duration,
int width,
int height)
The link is a link to an audio player.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic java.lang.String url
public TdApi.Photo thumbnail
public int duration
public int width
public int height
public static final int CONSTRUCTOR
public LinkPreviewTypeEmbeddedAudioPlayer()
public LinkPreviewTypeEmbeddedAudioPlayer(java.lang.String url,
TdApi.Photo thumbnail,
int duration,
int width,
int height)
url - URL of the external audio player.thumbnail - Thumbnail of the audio; may be null if unknown.duration - Duration of the audio, in seconds.width - Expected width of the embedded player.height - Expected height of the embedded player.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object