mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
1.4 KiB
1.4 KiB
title | description | nav_exclude | image |
---|---|---|---|
decryptedMessageMediaDocument | Document attached to a message in a secret chat. | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: decryptedMessageMediaDocument_45
Document attached to a message in a secret chat.
Attributes:
Name | Type | Required | Description |
---|---|---|---|
thumb | bytes | Yes | Thumbnail-file contents (JPEG-file, quality 55, set in a 90x90 square) |
thumb_w | int | Yes | Thumbnail width |
thumb_h | int | Yes | Thumbnail height |
mime_type | string | Yes | File MIME-type |
size | int | Yes | |
attributes | Array of DocumentAttribute | Yes | Document attributes for media types |
caption | string | Yes | Caption |
Type: DecryptedMessageMedia
Example:
$decryptedMessageMediaDocument_45 = ['_' => 'decryptedMessageMediaDocument', 'thumb' => 'bytes', 'thumb_w' => int, 'thumb_h' => int, 'mime_type' => 'string', 'size' => int, 'attributes' => [DocumentAttribute, DocumentAttribute], 'caption' => 'string'];