MadelineProtoDocs/old_docs/API_docs_v33/constructors/inputMediaUploadedVideo.md

1010 B

title description image
inputMediaUploadedVideo Media uploaded video https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: inputMediaUploadedVideo

Back to constructors index

Media uploaded video

Attributes:

Name Type Required Description
file File path or InputFile Yes File
duration int Yes Duration
w int Yes Width
h int Yes Height
caption string Yes Caption

Type: InputMedia

Example:

$inputMediaUploadedVideo = ['_' => 'inputMediaUploadedVideo', 'file' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'caption' => 'string'];

Or, if you're into Lua:

inputMediaUploadedVideo={_='inputMediaUploadedVideo', file=InputFile, duration=int, w=int, h=int, caption='string'}