1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-13 10:47:20 +01:00
MadelineProto/old_docs/API_docs_v71/constructors/documentAttributeVideo.md

46 lines
980 B
Markdown
Raw Normal View History

2017-10-14 11:50:46 +02:00
---
title: documentAttributeVideo
description: documentAttributeVideo attributes, type and example
---
## Constructor: documentAttributeVideo
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|round\_message|[Bool](../types/Bool.md) | Optional|
|duration|[int](../types/int.md) | Optional|
|w|[int](../types/int.md) | Optional|
|h|[int](../types/int.md) | Optional|
2017-10-14 11:50:46 +02:00
### Type: [DocumentAttribute](../types/DocumentAttribute.md)
### Example:
```
$documentAttributeVideo = ['_' => 'documentAttributeVideo', 'round_message' => Bool, 'duration' => int, 'w' => int, 'h' => int];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "documentAttributeVideo", "round_message": Bool, "duration": int, "w": int, "h": int}
```
Or, if you're into Lua:
```
documentAttributeVideo={_='documentAttributeVideo', round_message=Bool, duration=int, w=int, h=int}
```