1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-11 23:59:38 +01:00
MadelineProto/docs/API_docs/constructors/pageBlockVideo.md

30 lines
652 B
Markdown
Raw Normal View History

---
title: pageBlockVideo
description: pageBlockVideo attributes, type and example
---
## Constructor: pageBlockVideo
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|autoplay|[Bool](../types/Bool.md) | Optional|
|loop|[Bool](../types/Bool.md) | Optional|
|video\_id|[long](../types/long.md) | Required|
|caption|[RichText](../types/RichText.md) | Required|
### Type: [PageBlock](../types/PageBlock.md)
### Example:
```
$pageBlockVideo = ['_' => 'pageBlockVideo', 'autoplay' => true, 'loop' => true, 'video_id' => long, 'caption' => RichText, ];
```