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

x/mtkruto/mod.ts>types.WebPage

[WIP] Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class types.WebPage
extends _TypeWebPage
import { types } from "https://deno.land/x/mtkruto@0.1.105/mod.ts";
const { WebPage } = types;

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