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

x/mtkruto/tl/2_types.ts>WebPage

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class WebPage
extends TypeWebPage
import { WebPage } from "https://deno.land/x/mtkruto@0.0.820/tl/2_types.ts";

Constructors

new
WebPage(params: { id: bigint; url: string; displayUrl: string; hash: number; type?: string; siteName?: string; title?: string; description?: string; photo?: TypePhoto; embedUrl?: string; embedType?: string; embedWidth?: number; embedHeight?: number; duration?: number; author?: string; document?: TypeDocument; cachedPage?: TypePage; attributes?: Array<TypeWebPageAttribute>; })

Properties

protected
readonly
[id]
protected
readonly
[params]: Params
optional
attributes: Array<TypeWebPageAttribute>
optional
author: string
optional
cachedPage: TypePage
optional
description: string
displayUrl: string
optional
document: TypeDocument
optional
duration: number
optional
embedHeight: number
optional
embedType: string
optional
embedUrl: string
optional
embedWidth: number
hash: number
id: bigint
optional
photo: TypePhoto
optional
siteName: string
optional
title: string
optional
type: string
url: string

Static Properties

readonly
[paramDesc]: ParamDesc