mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 02:26:55 +01:00
45 lines
675 B
Markdown
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}
|
|
|
|
```
|
|
|
|
|