LinkPreview

A link preview.

Properties

disable?: boolean

Whether link preview is disabled.

url?: string

The URL of the 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.