MadelineProtoDocs/old_docs/API_docs_v46/constructors/inputMediaVideo.md
2018-04-01 13:24:46 +02:00

785 B

title description
inputMediaVideo inputMediaVideo attributes, type and example

Constructor: inputMediaVideo

Back to constructors index

Attributes:

Name Type Required
video InputVideo Optional
caption string Yes

Type: InputMedia

Example:

$inputMediaVideo = ['_' => 'inputMediaVideo', 'video' => InputVideo, 'caption' => 'string'];

PWRTelegram json-encoded version:

{"_": "inputMediaVideo", "video": InputVideo, "caption": "string"}

Or, if you're into Lua:

inputMediaVideo={_='inputMediaVideo', video=InputVideo, caption='string'}