2018-12-26 02:56:50 +01:00
---
title: page
2019-12-27 17:48:04 +01:00
description: [Instant view ](https://instantview.telegram.org ) page
2018-12-26 02:56:50 +01:00
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: page
[Back to constructors index ](index.md )
2019-12-27 17:48:04 +01:00
[Instant view ](https://instantview.telegram.org ) page
2018-12-26 02:56:50 +01:00
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
2019-12-27 17:48:04 +01:00
|part|[Bool](../types/Bool.md) | Optional|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 ](../methods/messages.getWebPagePreview.md ).|
|rtl|[Bool](../types/Bool.md) | Optional|Whether the page contains RTL text|
|v2|[Bool](../types/Bool.md) | Optional|Whether this is an [IV v2 ](https://instantview.telegram.org/docs#what-39s-new-in-2-0 ) page|
|url|[string](../types/string.md) | Yes|Original page HTTP URL|
2020-06-16 17:50:25 +02:00
|blocks|Array of [PageBlock ](../types/PageBlock.md ) | Yes|Page elements (like with HTML elements, only as TL constructors)|
|photos|Array of [Photo ](../types/Photo.md ) | Yes|Photos in page|
|documents|Array of [Document ](../types/Document.md ) | Yes|Media in page|
|views|[int](../types/int.md) | Optional|Viewcount|
2018-12-26 02:56:50 +01:00
### Type: [Page](../types/Page.md)
### Example:
```php
2020-04-03 14:11:09 +02:00
$page = ['_' => 'page', 'part' => Bool, 'rtl' => Bool, 'v2' => Bool, 'url' => 'string', 'blocks' => [PageBlock, PageBlock], 'photos' => [Photo, Photo], 'documents' => [Document, Document], 'views' => int];
2018-12-26 02:56:50 +01:00
```
Or, if you're into Lua:
```lua
2020-04-03 14:11:09 +02:00
page={_='page', part=Bool, rtl=Bool, v2=Bool, url='string', blocks={PageBlock}, photos={Photo}, documents={Document}, views=int}
2018-12-26 02:56:50 +01:00
```