1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-13 01:28:41 +01:00
MadelineProto/old_docs/API_docs_v45/constructors/inputMediaUploadedVideo.md

48 lines
1.1 KiB
Markdown
Raw Normal View History

---
title: inputMediaUploadedVideo
description: inputMediaUploadedVideo attributes, type and example
---
## Constructor: inputMediaUploadedVideo
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|file|[InputFile](../types/InputFile.md) | Yes|
|duration|[int](../types/int.md) | Yes|
|w|[int](../types/int.md) | Yes|
|h|[int](../types/int.md) | Yes|
|mime\_type|[string](../types/string.md) | Yes|
|caption|[string](../types/string.md) | Yes|
### Type: [InputMedia](../types/InputMedia.md)
### Example:
```
$inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => string, 'caption' => string, ];
```
2017-07-23 16:11:02 +02:00
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_":"inputMediaUploadedVideo","file":"InputFile","duration":"int","w":"int","h":"int","mime_type":"string","caption":"string"}
```
Or, if you're into Lua:
```
inputMediaUploadedVideo={_='inputMediaUploadedVideo', file=InputFile, duration=int, w=int, h=int, mime_type=string, caption=string, }
```