MadelineProtoDocs/docs/API_docs/constructors/decryptedMessageMediaExternalDocument_23.md
2019-12-27 17:48:04 +01:00

1.5 KiB

title description image
decryptedMessageMediaExternalDocument Non-e2e documented forwarded from non-secret chat https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: decryptedMessageMediaExternalDocument_23

Back to constructors index

Non-e2e documented forwarded from non-secret chat

Attributes:

Name Type Required Description
id long Yes Document ID
access_hash long Yes access hash
date int Yes Date
mime_type string Yes Mime type
size int Yes Size
thumb PhotoSize Optional Thumbnail
dc_id int Yes DC ID
attributes Array of DocumentAttribute Yes Attributes

Type: DecryptedMessageMedia

Example:

$decryptedMessageMediaExternalDocument_23 = ['_' => 'decryptedMessageMediaExternalDocument', 'id' => long, 'access_hash' => long, 'date' => int, 'mime_type' => 'string', 'size' => int, 'thumb' => PhotoSize, 'dc_id' => int, 'attributes' => [DocumentAttribute, DocumentAttribute]];

Or, if you're into Lua:

decryptedMessageMediaExternalDocument_23={_='decryptedMessageMediaExternalDocument', id=long, access_hash=long, date=int, mime_type='string', size=int, thumb=PhotoSize, dc_id=int, attributes={DocumentAttribute}}