MadelineProtoDocs/docs/API_docs/constructors/decryptedMessageMediaVideo_45.md
2019-12-27 17:48:04 +01:00

1.6 KiB

title description image
decryptedMessageMediaVideo Video attached to an encrypted message. https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: decryptedMessageMediaVideo_45

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
caption string Yes Caption

Type: DecryptedMessageMedia

Example:

$decryptedMessageMediaVideo_45 = ['_' => 'decryptedMessageMediaVideo', 'thumb' => 'bytes', 'thumb_w' => int, 'thumb_h' => int, 'duration' => int, 'mime_type' => 'string', 'w' => int, 'h' => int, 'size' => int, 'caption' => 'string'];

Or, if you're into Lua:

decryptedMessageMediaVideo_45={_='decryptedMessageMediaVideo', thumb='bytes', thumb_w=int, thumb_h=int, duration=int, mime_type='string', w=int, h=int, size=int, caption='string'}