Instant view page
Constructor schema is available as of layer 89. Switch ยป
Name | Type | Description |
---|---|---|
flags | # | Flags, see TL conditional fields |
part | flags.0?true | Indicates 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 | flags.1?true | Whether the page contains RTL text |
v2 | flags.2?true | Whether this is an IV v2 page |
url | string | Original page HTTP URL |
blocks | Vector<PageBlock> | Page elements (like with HTML elements, only as TL constructors) |
photos | Vector<Photo> | Photos in page |
documents | Vector<Document> | Media in page |
views | flags.3?int | View count |
Get preview of webpage