Options
All
  • Public
  • Public/Protected
  • All
Menu

Class WebPage

Hierarchy

Index

Properties

CONSTRUCTOR_ID: number
SUBCLASS_OF_ID: number
className: string
classType: "constructor" | "request"
originalArgs: { hasLargeMedia?: boolean; id: BigInteger; url: string; displayUrl: string; hash: number; type?: string; siteName?: string; title?: string; description?: string; photo?: Api.TypePhoto; embedUrl?: string; embedType?: string; embedWidth?: number; embedHeight?: number; duration?: number; author?: string; document?: TypeDocument; cachedPage?: Page; attributes?: TypeWebPageAttribute[] }

Type declaration

  • Optional hasLargeMedia?: boolean
  • id: BigInteger
  • url: string
  • displayUrl: string
  • hash: number
  • Optional type?: string
  • Optional siteName?: string
  • Optional title?: string
  • Optional description?: string
  • Optional photo?: Api.TypePhoto
  • Optional embedUrl?: string
  • Optional embedType?: string
  • Optional embedWidth?: number
  • Optional embedHeight?: number
  • Optional duration?: number
  • Optional author?: string
  • Optional document?: TypeDocument
  • Optional cachedPage?: Page
  • Optional attributes?: TypeWebPageAttribute[]
CONSTRUCTOR_ID: 3902555570
SUBCLASS_OF_ID: 1437168769
classType: "constructor"
className: "WebPage"
hasLargeMedia?: boolean
id: BigInteger
url: string
displayUrl: string
hash: number
type?: string
siteName?: string
title?: string
description?: string
photo?: Api.TypePhoto
embedUrl?: string
embedType?: string
embedWidth?: number
embedHeight?: number
duration?: number
author?: string
document?: TypeDocument
cachedPage?: Page
attributes?: TypeWebPageAttribute[]

Methods

  • serializeBytes(data: string | Buffer): Buffer
  • serializeDate(date: number | Date): Buffer
  • getBytes(): Buffer
  • toJSON(): { hasLargeMedia?: boolean; id: BigInteger; url: string; displayUrl: string; hash: number; type?: string; siteName?: string; title?: string; description?: string; photo?: Api.TypePhoto; embedUrl?: string; embedType?: string; embedWidth?: number; embedHeight?: number; duration?: number; author?: string; document?: TypeDocument; cachedPage?: Page; attributes?: TypeWebPageAttribute[] }
  • Returns { hasLargeMedia?: boolean; id: BigInteger; url: string; displayUrl: string; hash: number; type?: string; siteName?: string; title?: string; description?: string; photo?: Api.TypePhoto; embedUrl?: string; embedType?: string; embedWidth?: number; embedHeight?: number; duration?: number; author?: string; document?: TypeDocument; cachedPage?: Page; attributes?: TypeWebPageAttribute[] }

    • Optional hasLargeMedia?: boolean
    • id: BigInteger
    • url: string
    • displayUrl: string
    • hash: number
    • Optional type?: string
    • Optional siteName?: string
    • Optional title?: string
    • Optional description?: string
    • Optional photo?: Api.TypePhoto
    • Optional embedUrl?: string
    • Optional embedType?: string
    • Optional embedWidth?: number
    • Optional embedHeight?: number
    • Optional duration?: number
    • Optional author?: string
    • Optional document?: TypeDocument
    • Optional cachedPage?: Page
    • Optional attributes?: TypeWebPageAttribute[]

Constructors

  • new WebPage(args: { hasLargeMedia?: boolean; id: BigInteger; url: string; displayUrl: string; hash: number; type?: string; siteName?: string; title?: string; description?: string; photo?: Api.TypePhoto; embedUrl?: string; embedType?: string; embedWidth?: number; embedHeight?: number; duration?: number; author?: string; document?: TypeDocument; cachedPage?: Page; attributes?: TypeWebPageAttribute[] }): Api.WebPage
  • Parameters

    • args: { hasLargeMedia?: boolean; id: BigInteger; url: string; displayUrl: string; hash: number; type?: string; siteName?: string; title?: string; description?: string; photo?: Api.TypePhoto; embedUrl?: string; embedType?: string; embedWidth?: number; embedHeight?: number; duration?: number; author?: string; document?: TypeDocument; cachedPage?: Page; attributes?: TypeWebPageAttribute[] }
      • Optional hasLargeMedia?: boolean
      • id: BigInteger
      • url: string
      • displayUrl: string
      • hash: number
      • Optional type?: string
      • Optional siteName?: string
      • Optional title?: string
      • Optional description?: string
      • Optional photo?: Api.TypePhoto
      • Optional embedUrl?: string
      • Optional embedType?: string
      • Optional embedWidth?: number
      • Optional embedHeight?: number
      • Optional duration?: number
      • Optional author?: string
      • Optional document?: TypeDocument
      • Optional cachedPage?: Page
      • Optional attributes?: TypeWebPageAttribute[]

    Returns Api.WebPage

Generated using TypeDoc