Skip to main content
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.0.996/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