Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/mtkruto/3_types.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.6.2/3_types.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.