LinkPreviewEmbeddedVideo

An embedded video link preview.

Properties

id: string

The ID of the link preview.

smallMedia: boolean

Wether the media is to be shown in a small size.

largeMedia: boolean

Whether the media is to be shown in a large size.

aboveText: boolean

Whether the preview is to be shown above the message’s text.

url: string

The URL of the link preview.

embedUrl: string
width: number
height: number
duration: number
type: "embeddedVideo"
DISCRIMINATOR
thumbnail?: Photo