MadelineProtoDocs/old_docs/API_docs_v25/constructors/pageBlockList.md

40 lines
776 B
Markdown
Raw Permalink Normal View History

2020-06-16 17:50:25 +02:00
---
title: pageBlockList
description: Unordered list of IV blocks
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: pageBlockList
[Back to constructors index](index.md)
Unordered list of IV blocks
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|ordered|[Bool](../types/Bool.md) | Yes|
|items|Array of [RichText](../types/RichText.md) | Yes|List of blocks in an IV page|
### Type: [PageBlock](../types/PageBlock.md)
### Example:
```php
$pageBlockList = ['_' => 'pageBlockList', 'ordered' => Bool, 'items' => [RichText, RichText]];
```
Or, if you're into Lua:
```lua
pageBlockList={_='pageBlockList', ordered=Bool, items={RichText}}
```