1.5 KiB
1.5 KiB
title | description | image |
---|---|---|
decryptedMessageMediaVideo | Video attached to an encrypted message. | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: decryptedMessageMediaVideo_17
Video attached to an encrypted message.
Attributes:
Name | Type | Required | Description |
---|---|---|---|
thumb | bytes | Yes | Content of thumbnail file (JPEG file, quality 55, set in a square 90x90) |
thumb_w | int | Yes | Thumbnail width |
thumb_h | int | Yes | Thumbnail height |
duration | int | Yes | Duration of video in seconds |
mime_type | string | Yes | MIME-type of the video file Parameter added in Layer 17. |
w | int | Yes | Image width |
h | int | Yes | Image height |
size | int | Yes | File size |
Type: DecryptedMessageMedia
Example:
$decryptedMessageMediaVideo_17 = ['_' => 'decryptedMessageMediaVideo', 'thumb' => 'bytes', 'thumb_w' => int, 'thumb_h' => int, 'duration' => int, 'mime_type' => 'string', 'w' => int, 'h' => int, 'size' => int];
Or, if you're into Lua:
decryptedMessageMediaVideo_17={_='decryptedMessageMediaVideo', thumb='bytes', thumb_w=int, thumb_h=int, duration=int, mime_type='string', w=int, h=int, size=int}