Link Search Menu Expand Document

Constructor: decryptedMessageMediaVideo_17

Back to constructors index

Video attached to an encrypted message.

Attributes:

NameTypeRequiredDescription
thumbbytesYesContent of thumbnail file (JPEG file, quality 55, set in a square 90x90)
thumb_wintYesThumbnail width
thumb_hintYesThumbnail height
durationintYesDuration of video in seconds
mime_typestringYesMIME-type of the video file
Parameter added in Layer 17.
wintYesImage width
hintYesImage height
sizeintYesFile 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];