LinkPreviewPhoto

An embedded video link preview.

Properties

id: string

The ID of the link preview.

The size in which the media is expected to be displayed in.

isAboveText: boolean

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

url: string

The URL of the link preview.

type: "photo"
DISCRIMINATOR
photo: Photo