mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-12 21:27:19 +01:00
36 lines
546 B
Markdown
36 lines
546 B
Markdown
|
---
|
||
|
title: pageBlockCover
|
||
|
description: pageBlockCover attributes, type and example
|
||
|
---
|
||
|
## Constructor: pageBlockCover
|
||
|
[Back to constructors index](index.md)
|
||
|
|
||
|
|
||
|
|
||
|
### Attributes:
|
||
|
|
||
|
| Name | Type | Required |
|
||
|
|----------|:-------------:|---------:|
|
||
|
|cover|[PageBlock](../types/PageBlock.md) | Yes|
|
||
|
|
||
|
|
||
|
|
||
|
### Type: [PageBlock](../types/PageBlock.md)
|
||
|
|
||
|
|
||
|
### Example:
|
||
|
|
||
|
```
|
||
|
$pageBlockCover = ['_' => 'pageBlockCover', 'cover' => PageBlock, ];
|
||
|
```
|
||
|
|
||
|
Or, if you're into Lua:
|
||
|
|
||
|
|
||
|
```
|
||
|
pageBlockCover={_='pageBlockCover', cover=PageBlock, }
|
||
|
|
||
|
```
|
||
|
|
||
|
|