1.7 KiB
1.7 KiB
title | description | image |
---|---|---|
inputMediaUploadedThumbDocument | Media uploaded thumb document | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: inputMediaUploadedThumbDocument
Media uploaded thumb document
Attributes:
Name | Type | Required | Description |
---|---|---|---|
file | File path or InputFile | Yes | File |
thumb | File path or InputFile | Yes | Thumbnail |
mime_type | string | Optional | Mime type |
attributes | Array of DocumentAttribute | Yes | Attributes |
caption | string | Yes | Caption |
stickers | Array of MessageMedia, Message, Update or InputDocument | Optional | Stickers |
Type: InputMedia
Example:
$inputMediaUploadedThumbDocument = ['_' => 'inputMediaUploadedThumbDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute], 'caption' => 'string', 'stickers' => [InputDocument, InputDocument]];
PWRTelegram json-encoded version:
{"_": "inputMediaUploadedThumbDocument", "file": InputFile, "thumb": InputFile, "mime_type": "string", "attributes": [DocumentAttribute], "caption": "string", "stickers": [InputDocument]}
Or, if you're into Lua:
inputMediaUploadedThumbDocument={_='inputMediaUploadedThumbDocument', file=InputFile, thumb=InputFile, mime_type='string', attributes={DocumentAttribute}, caption='string', stickers={InputDocument}}