MadelineProtoDocs/docs/API_docs/constructors/decryptedMessageMediaDocument_8.md
2020-06-16 17:50:25 +02:00

1.3 KiB

title description image
decryptedMessageMediaDocument Document attached to a message in a secret chat. https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: decryptedMessageMediaDocument_8

Back to constructors index

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
file_name string Yes
mime_type string Yes File MIME-type
size int Yes Document size

Type: DecryptedMessageMedia

Example:

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

Or, if you're into Lua:

decryptedMessageMediaDocument_8={_='decryptedMessageMediaDocument', thumb='bytes', thumb_w=int, thumb_h=int, file_name='string', mime_type='string', size=int}