MadelineProtoDocs/old_docs/API_docs_v91/constructors/pageBlockDetails.md

41 lines
854 B
Markdown
Raw Normal View History

2019-03-08 13:49:23 +01:00
---
title: pageBlockDetails
description: Page block details
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: pageBlockDetails
[Back to constructors index](index.md)
Page block details
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|open|[Bool](../types/Bool.md) | Optional|Open?|
|blocks|Array of [PageBlock](../types/PageBlock.md) | Yes|Blocks|
|title|[RichText](../types/RichText.md) | Yes|Title|
### Type: [PageBlock](../types/PageBlock.md)
### Example:
```php
$pageBlockDetails = ['_' => 'pageBlockDetails', 'open' => Bool, 'blocks' => [PageBlock, PageBlock], 'title' => RichText];
```
Or, if you're into Lua:
```lua
pageBlockDetails={_='pageBlockDetails', open=Bool, blocks={PageBlock}, title=RichText}
```