Skip to main content
Module

x/mtkruto/mod.ts>LinkPreview

Cross-runtime JavaScript library for building Telegram clients
Latest
interface LinkPreview
Re-export
import { type LinkPreview } from "https://deno.land/x/mtkruto@0.1.702/mod.ts";

A link preview.

Properties

optional
disable: boolean

Whether link preview is disabled.

optional
url: string

The URL of the preview.

optional
smallMedia: boolean

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

optional
largeMedia: boolean

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

optional
aboveText: boolean

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