Raw.WebPage

Raw.WebPage

Webpage preview

webPage#e89c45b2 flags:# has_large_media:flags.13?true id:long url:string display_url:string hash:int type:flags.0?string site_name:flags.1?string title:flags.2?string description:flags.3?string photo:flags.4?Photo embed_url:flags.5?string embed_type:flags.5?string embed_width:flags.6?int embed_height:flags.6?int duration:flags.7?int author:flags.8?string document:flags.9?Document cached_page:flags.10?Page attributes:flags.12?Vector<WebPageAttribute> = WebPage;
export namespace Raw {
  export class WebPage {
    constructor(params: {
      hasLargeMedia?: boolean;
      id: bigint;
      url: string;
      displayUrl: string;
      hash: number;
      type?: string;
      siteName?: string;
      title?: string;
      description?: string;
      photo?: Raw.TypePhoto;
      embedUrl?: string;
      embedType?: string;
      embedWidth?: number;
      embedHeight?: number;
      duration?: number;
      author?: string;
      document?: Raw.TypeDocument;
      cachedPage?: Raw.TypePage;
      attributes?: Array<Raw.TypeWebPageAttribute>;
    }) {}
  }
}
🚫

This is a types constructor, you can’t use it as method when call invoke.

Layer: 185
Constructor ID: 0xe89c45b2

Property