MadelineProtoDocs/docs/API_docs/constructors/decryptedMessageMediaVideo_45.md
2024-05-01 14:53:46 +02:00

1.5 KiB

title description nav_exclude image
decryptedMessageMediaVideo Video attached to an encrypted message. true 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'];