MadelineProtoDocs/old_docs/API_docs_v23/constructors/inputMediaUploadedVideo.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

1.2 KiB

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
mime_type string Optional Mime type

Type: InputMedia

Example:

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

PWRTelegram json-encoded version:

{"_": "inputMediaUploadedVideo", "file": InputFile, "duration": int, "w": int, "h": int, "mime_type": "string"}

Or, if you're into Lua:

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