Skip to content

LinkPreviewTypeExternalVideo

Type · TDLib 1.8.67 · d1085f9c

The link is a link to a video file

LinkPreviewTypeExternalVideo(
  url: string,
  mime_type: string,
  width: int32,
  height: int32,
  duration: int32
) → LinkPreviewType

url

string

URL of the video file

mime_type

string

MIME type of the video file

width

int32

Expected width of the video preview; 0 if unknown

height

int32

Expected height of the video preview; 0 if unknown

duration

int32

Duration of the video, in seconds; 0 if unknown