page
Instant view page
type tg.Page struct { /* ... */ }
Fields
| Name | Type | Required | Description |
|---|---|---|---|
Part | bool | — | 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 | bool | — | Whether the page contains RTL text |
V2 | bool | — | Whether this is an IV v2 page |
URL | string | yes | Original page HTTP URL |
Blocks | []PageBlockClass | yes | Page elements (like with HTML elements, only as TL constructors) |
Photos | []PhotoClass | yes | Photos in page |
Documents | []DocumentClass | yes | Media in page |
Views | int | — | View count |
References
- Official documentation
- Generated Go reference
- TL definition:
page#98657f0d