Link Search Menu Expand Document

Constructor: decryptedMessageMediaDocument_8

Back to constructors index

Document attached to a message in a secret chat.

Attributes:

NameTypeRequiredDescription
thumbbytesYesThumbnail-file contents (JPEG-file, quality 55, set in a 90x90 square)
thumb_wintYesThumbnail width
thumb_hintYesThumbnail height
file_namestringYes
mime_typestringYesFile MIME-type
sizeintYes

Type: DecryptedMessageMedia

Example:

$decryptedMessageMediaDocument_8 = ['_' => 'decryptedMessageMediaDocument', 'thumb' => 'bytes', 'thumb_w' => int, 'thumb_h' => int, 'file_name' => 'string', 'mime_type' => 'string', 'size' => int];