Link Search Menu Expand Document

Constructor: decryptedMessageMediaDocument_143

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
sizelongYes
attributesArray of DocumentAttributeYesDocument attributes for media types
captionstringYesCaption

Type: DecryptedMessageMedia

Example:

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