# Constructor: decryptedMessageMediaVideo_17

Back to constructors index

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}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.