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

x/grm/tl/api.d.ts>Api.WebPage

MTProto API Client for Deno 🦕
Latest
class Api.WebPage
extends VirtualClass<{ id: long; url: string; displayUrl: string; hash: int; type?: string; siteName?: string; title?: string; description?: string; photo?: Api.TypePhoto; embedUrl?: string; embedType?: string; embedWidth?: int; embedHeight?: int; duration?: int; author?: string; document?: Api.TypeDocument; cachedPage?: Api.TypePage; attributes?: Api.TypeWebPageAttribute[]; }>
import { Api } from "https://deno.land/x/grm@0.8.2/tl/api.d.ts";
const { WebPage } = Api;

Properties

optional
attributes: Api.TypeWebPageAttribute[]
optional
author: string
optional
cachedPage: Api.TypePage
className: "WebPage"
classType: "constructor"
CONSTRUCTOR_ID: 3902555570
optional
description: string
displayUrl: string
optional
document: Api.TypeDocument
optional
duration: int
optional
embedHeight: int
optional
embedType: string
optional
embedUrl: string
optional
embedWidth: int
hash: int
id: long
optional
photo: Api.TypePhoto
optional
siteName: string
SUBCLASS_OF_ID: 1437168769
optional
title: string
optional
type: string
url: string