44 lines
837 B
Markdown
44 lines
837 B
Markdown
---
|
|
title: pageBlockList
|
|
description: pageBlockList attributes, type and example
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
---
|
|
# Constructor: pageBlockList
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
### Attributes:
|
|
|
|
| Name | Type | Required |
|
|
|----------|---------------|----------|
|
|
|ordered|[Bool](../types/Bool.md) | Yes|
|
|
|items|Array of [RichText](../types/RichText.md) | Yes|
|
|
|
|
|
|
|
|
### Type: [PageBlock](../types/PageBlock.md)
|
|
|
|
|
|
### Example:
|
|
|
|
```php
|
|
$pageBlockList = ['_' => 'pageBlockList', 'ordered' => Bool, 'items' => [RichText, RichText]];
|
|
```
|
|
|
|
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
|
|
|
```
|
|
{"_": "pageBlockList", "ordered": Bool, "items": [RichText]}
|
|
```
|
|
|
|
|
|
Or, if you're into Lua:
|
|
|
|
```lua
|
|
pageBlockList={_='pageBlockList', ordered=Bool, items={RichText}}
|
|
|
|
```
|
|
|
|
|