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

1.3 KiB

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

Constructor: decryptedMessageMediaVideo_8

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
w int Yes Image width
h int Yes Image height
size int Yes File size

Type: DecryptedMessageMedia

Example:

$decryptedMessageMediaVideo_8 = ['_' => 'decryptedMessageMediaVideo', 'thumb' => 'bytes', 'thumb_w' => int, 'thumb_h' => int, 'duration' => int, 'w' => int, 'h' => int, 'size' => int];

Or, if you're into Lua:

decryptedMessageMediaVideo_8={_='decryptedMessageMediaVideo', thumb='bytes', thumb_w=int, thumb_h=int, duration=int, w=int, h=int, size=int}