Link Search Menu Expand Document

Constructor: decryptedMessageMediaDocument_45

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
mime_typestringYesFile MIME-type
sizeintYes
attributesArray of DocumentAttributeYesDocument attributes for media types
captionstringYesCaption

Type: DecryptedMessageMedia

Example:

$decryptedMessageMediaDocument_45 = ['_' => 'decryptedMessageMediaDocument', 'thumb' => 'bytes', 'thumb_w' => int, 'thumb_h' => int, 'mime_type' => 'string', 'size' => int, 'attributes' => [DocumentAttribute, DocumentAttribute], 'caption' => 'string'];