1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-05 00:07:45 +01:00
MadelineProto/docs/API_docs/constructors/decryptedMessageMediaDocument_45.md
2017-07-23 16:33:46 +02:00

1.6 KiB

title description
decryptedMessageMediaDocument decryptedMessageMediaDocument attributes, type and example

Constructor: decryptedMessageMediaDocument_45

Back to constructors index

Attributes:

Name Type Required
thumb bytes Yes
thumb_w int Yes
thumb_h int Yes
mime_type string Yes
size int Yes
key bytes Yes
iv bytes Yes
attributes Array of DocumentAttribute Yes
caption string Yes

Type: DecryptedMessageMedia

Example:

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

PWRTelegram json-encoded version:

{"_": "decryptedMessageMediaDocument", "thumb": "bytes", "thumb_w": int, "thumb_h": int, "mime_type": "string", "size": int, "key": "bytes", "iv": "bytes", "attributes": [DocumentAttribute], "caption": "string"}

Or, if you're into Lua:

decryptedMessageMediaDocument_45={_='decryptedMessageMediaDocument', thumb='bytes', thumb_w=int, thumb_h=int, mime_type='string', size=int, key='bytes', iv='bytes', attributes={DocumentAttribute}, caption='string'}