MadelineProto/docs/API_docs/constructors/pageBlockCover.md
2017-08-25 15:05:53 +02:00

45 lines
675 B
Markdown

---
title: pageBlockCover
description: Page cover
---
## Constructor: pageBlockCover
[Back to constructors index](index.md)
Page cover
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|cover|[PageBlock](../types/PageBlock.md) | Yes|The cover|
### Type: [PageBlock](../types/PageBlock.md)
### Example:
```
$pageBlockCover = ['_' => 'pageBlockCover', 'cover' => PageBlock];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "pageBlockCover", "cover": PageBlock}
```
Or, if you're into Lua:
```
pageBlockCover={_='pageBlockCover', cover=PageBlock}
```