MadelineProtoDocs/docs/TD_docs/constructors/video.md
Daniil Gentili e5a1324684 docufix
2018-04-04 23:19:57 +00:00

31 lines
1.0 KiB
Markdown

---
title: video
description: Describes video file
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: video
[Back to constructors index](index.md)
Describes video file
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|duration|[int](../types/int.md) | Yes|Duration of the video in seconds as defined by sender|
|width|[int](../types/int.md) | Yes|Video width as defined by sender|
|height|[int](../types/int.md) | Yes|Video height as defined by sender|
|file\_name|[string](../types/string.md) | Yes|Original name of a file as defined by sender|
|mime\_type|[string](../types/string.md) | Yes|MIME type of a file as defined by sender|
|has\_stickers|[Bool](../types/Bool.md) | Yes|True, if some stickers was added to the photo|
|thumb|[photoSize](../constructors/photoSize.md) | Yes|Video thumb as defined by sender, nullable|
|video|[file](../constructors/file.md) | Yes|File with the video|
### Type: [Video](../types/Video.md)