--- 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) | Required| |caption|[string](../types/string.md) | Required| ### Type: [InputMedia](../types/InputMedia.md) ### Example: ``` $inputMediaVideo = ['_' => 'inputMediaVideo', 'video' => InputVideo, 'caption' => string, ]; ```