Skip to main content
Module

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

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

Constructors

new
WebPage_(params: { has_large_media?: true; id: bigint; url: string; display_url: string; hash: number; type?: string; site_name?: string; title?: string; description?: string; photo?: enums.Photo; embed_url?: string; embed_type?: string; embed_width?: number; embed_height?: number; duration?: number; author?: string; document?: enums.Document; cached_page?: enums.Page; attributes?: Array<enums.WebPageAttribute>; })

Properties

protected
readonly
[id]
protected
readonly
[params]: Params
optional
attributes: Array<enums.WebPageAttribute>
optional
author: string
optional
cached_page: enums.Page
optional
description: string
display_url: string
optional
document: enums.Document
optional
duration: number
optional
embed_height: number
optional
embed_type: string
optional
embed_url: string
optional
embed_width: number
optional
has_large_media: true
hash: number
id: bigint
optional
photo: enums.Photo
optional
site_name: string
optional
title: string
optional
type: string
url: string

Static Properties

readonly
[name]
readonly
[paramDesc]: ParamDesc