Raw.Page
Instant view page
page#98657f0d flags:# part:flags.0?true rtl:flags.1?true v2:flags.2?true url:string blocks:Vector<PageBlock> photos:Vector<Photo> documents:Vector<Document> views:flags.3?int = Page;
export namespace Raw {
export class Page {
constructor(params: {
part?: boolean;
rtl?: boolean;
v2?: boolean;
url: string;
blocks: Array<Raw.TypePageBlock>;
photos: Array<Raw.TypePhoto>;
documents: Array<Raw.TypeDocument>;
views?: number;
}) {}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 185
Constructor ID: 0x98657f0d
Property
part
: boolean or undefinedIndicates that not full page preview is available to the client and it will need to fetch full instant view from the server using messages.getwebpagepreview.
rtl
: boolean or undefinedWhether the page contains rtl text
v2
: boolean or undefinedWhether this is an iv v2 page
url
: stringOriginal page http url
blocks
: Array of Raw.TypePageBlockPage elements (like with html elements, only as tl constructors)
photos
: Array of Raw.TypePhotoPhotos in page
documents
: Array of Raw.TypeDocumentMedia in page
views
: number or undefinedView count