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

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

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

Constructors

new
WebPage(params: { hasLargeMedia?: true; 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
optional
hasLargeMedia: true
id: bigint
optional
photo: TypePhoto
optional
siteName: string
optional
title: string
optional
type: string
url: string

Static Properties

readonly
[paramDesc]: ParamDesc