InputLinkPreview

A link preview to be passed as an input.

Properties

type: "input"
DISCRIMINATOR
disable?: boolean

Whether link preview is disabled.

url?: string

The URL of the preview.

The size of the media that will potentially be shown.

isAboveText?: boolean

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