MadelineProtoDocs/docs/API_docs/constructors/decryptedMessageMediaDocument_45.md
Daniil Gentili e5a1324684 docufix
2018-04-04 23:19:57 +00:00

1.5 KiB

title description image
decryptedMessageMediaDocument decryptedMessageMediaDocument attributes, type and example https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

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
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, 'attributes' => [DocumentAttribute, DocumentAttribute], 'caption' => 'string'];

PWRTelegram json-encoded version:

{"_": "decryptedMessageMediaDocument", "thumb": "bytes", "thumb_w": int, "thumb_h": int, "mime_type": "string", "size": int, "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, attributes={DocumentAttribute}, caption='string'}