2018-12-26 02:56:50 +01:00
|
|
|
---
|
|
|
|
title: pageListOrderedItemBlocks
|
2019-12-27 17:48:04 +01:00
|
|
|
description: Ordered list of [IV](https://instantview.telegram.org) blocks
|
2018-12-26 02:56:50 +01:00
|
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
|
|
---
|
|
|
|
# Constructor: pageListOrderedItemBlocks
|
|
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-12-27 17:48:04 +01:00
|
|
|
Ordered list of [IV](https://instantview.telegram.org) blocks
|
2018-12-26 02:56:50 +01:00
|
|
|
|
|
|
|
### Attributes:
|
|
|
|
|
|
|
|
| Name | Type | Required | Description |
|
|
|
|
|----------|---------------|----------|-------------|
|
2019-12-27 17:48:04 +01:00
|
|
|
|num|[string](../types/string.md) | Yes|Number of element within ordered list|
|
2020-06-16 17:50:25 +02:00
|
|
|
|blocks|Array of [PageBlock](../types/PageBlock.md) | Yes|Item contents|
|
2018-12-26 02:56:50 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Type: [PageListOrderedItem](../types/PageListOrderedItem.md)
|
|
|
|
|
|
|
|
|
|
|
|
### Example:
|
|
|
|
|
|
|
|
```php
|
|
|
|
$pageListOrderedItemBlocks = ['_' => 'pageListOrderedItemBlocks', 'num' => 'string', 'blocks' => [PageBlock, PageBlock]];
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
Or, if you're into Lua:
|
|
|
|
|
|
|
|
```lua
|
|
|
|
pageListOrderedItemBlocks={_='pageListOrderedItemBlocks', num='string', blocks={PageBlock}}
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|