MadelineProtoDocs/docs/API_docs/constructors/pageBlockCover.md

45 lines
675 B
Markdown
Raw Normal View History

2018-04-01 13:19:25 +02:00
---
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}
```