Skip to content

LinkPreviewTypeEmbeddedVideoPlayer

Type · TDLib 1.8.67 · d1085f9c

The link is a link to a video player

LinkPreviewTypeEmbeddedVideoPlayer(
  url: string,
  video: Video,
  thumbnail: Photo,
  duration: int32,
  width: int32,
  height: int32
) → LinkPreviewType

url

string

URL of the external video player

video

Video

The cached video; may be null if unknown

thumbnail

Photo

Thumbnail of the video; may be null if unknown

duration

int32

Duration of the video, in seconds

width

int32

Expected width of the embedded player

height

int32

Expected height of the embedded player