MadelineProtoDocs/old_docs/API_docs_v91/constructors/inputDocument.md

816 B

title description image
inputDocument Document https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: inputDocument

Back to constructors index

Document

Attributes:

Name Type Required Description
id long Yes ID
access_hash long Yes Access hash
file_reference bytes Yes File reference

Type: InputDocument

Example:

$inputDocument = ['_' => 'inputDocument', 'id' => long, 'access_hash' => long, 'file_reference' => 'bytes'];

Or, if you're into Lua:

inputDocument={_='inputDocument', id=long, access_hash=long, file_reference='bytes'}