Skip to content

LinkPreviewTypeEmbeddedAudioPlayer

Type · TDLib 1.8.67 · d1085f9c

The link is a link to an audio player

LinkPreviewTypeEmbeddedAudioPlayer(
  url: string,
  audio: Audio,
  thumbnail: Photo,
  duration: int32,
  width: int32,
  height: int32
) → LinkPreviewType

url

string

URL of the external audio player

audio

Audio

The cached audio; may be null if unknown

thumbnail

Photo

Thumbnail of the audio; may be null if unknown

duration

int32

Duration of the audio, in seconds

width

int32

Expected width of the embedded player

height

int32

Expected height of the embedded player