Interface LinkPreviewTypeExternalVideo

The link is a link to a video file. Subtype of LinkPreviewType.

interface LinkPreviewTypeExternalVideo {
    @type: "linkPreviewTypeExternalVideo";
    duration: number;
    height: number;
    mime_type: string;
    url: string;
    width: number;
}

Properties

@type: "linkPreviewTypeExternalVideo"
duration: number

Duration of the video, in seconds; 0 if unknown.

height: number

Expected height of the video preview; 0 if unknown.

mime_type: string

MIME type of the video file.

url: string

URL of the video file.

width: number

Expected width of the video preview; 0 if unknown.