mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-12 21:27:19 +01:00
1.4 KiB
1.4 KiB
title | description |
---|---|
decryptedMessageMediaDocument | decryptedMessageMediaDocument attributes, type and example |
Constructor: decryptedMessageMediaDocument_8
Attributes:
Name | Type | Required |
---|---|---|
thumb | bytes | Yes |
thumb_w | int | Yes |
thumb_h | int | Yes |
file_name | string | Yes |
mime_type | string | Yes |
size | int | Yes |
key | bytes | Yes |
iv | bytes | Yes |
Type: DecryptedMessageMedia
Example:
$decryptedMessageMediaDocument_8 = ['_' => 'decryptedMessageMediaDocument', 'thumb' => bytes, 'thumb_w' => int, 'thumb_h' => int, 'file_name' => string, 'mime_type' => string, 'size' => int, 'key' => bytes, 'iv' => bytes, ];
PWRTelegram json-encoded version:
{"_":"decryptedMessageMediaDocument","thumb":"bytes","thumb_w":"int","thumb_h":"int","file_name":"string","mime_type":"string","size":"int","key":"bytes","iv":"bytes"}
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, key=bytes, iv=bytes, }