1.4 KiB
1.4 KiB
title | description | image |
---|---|---|
inputMediaUploadedThumbVideo | Media uploaded thumb video | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: inputMediaUploadedThumbVideo
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 |
mime_type | string | Optional | Mime type |
Type: InputMedia
Example:
$inputMediaUploadedThumbVideo = ['_' => 'inputMediaUploadedThumbVideo', 'file' => InputFile, 'thumb' => InputFile, 'duration' => int, 'w' => int, 'h' => int, 'mime_type' => 'string'];
PWRTelegram json-encoded version:
{"_": "inputMediaUploadedThumbVideo", "file": InputFile, "thumb": InputFile, "duration": int, "w": int, "h": int, "mime_type": "string"}
Or, if you're into Lua:
inputMediaUploadedThumbVideo={_='inputMediaUploadedThumbVideo', file=InputFile, thumb=InputFile, duration=int, w=int, h=int, mime_type='string'}