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

1.3 KiB

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

Constructor: inputMediaUploadedThumbVideo

Back to constructors index

Media uploaded thumb video

Attributes:

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

Type: InputMedia

Example:

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

PWRTelegram json-encoded version:

{"_": "inputMediaUploadedThumbVideo", "file": InputFile, "thumb": InputFile, "duration": int, "w": int, "h": int, "caption": "string"}

Or, if you're into Lua:

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