Skip to main content

page

Instant view page

type tg.Page struct { /* ... */ }

Fields​

NameTypeRequiredDescription
Partbool—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.
Rtlbool—Whether the page contains RTL text
V2bool—Whether this is an IV v2 page
URLstringyesOriginal page HTTP URL
Blocks[]PageBlockClassyesPage elements (like with HTML elements, only as TL constructors)
Photos[]PhotoClassyesPhotos in page
Documents[]DocumentClassyesMedia in page
Viewsint—View count

References​