MadelineProto/old_docs/API_docs_v46/constructors/inputMediaVideo.md

37 lines
641 B
Markdown
Raw Normal View History

---
title: inputMediaVideo
description: inputMediaVideo attributes, type and example
---
## Constructor: inputMediaVideo
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|video|[InputVideo](../types/InputVideo.md) | Yes|
|caption|[string](../types/string.md) | Yes|
### Type: [InputMedia](../types/InputMedia.md)
### Example:
```
$inputMediaVideo = ['_' => 'inputMediaVideo', 'video' => InputVideo, 'caption' => string, ];
```
Or, if you're into Lua:
```
inputMediaVideo={_='inputMediaVideo', video=InputVideo, caption=string, }
```