MadelineProtoDocs/old_docs/API_docs_v38/constructors/inputDocument.md
2020-06-16 17:50:25 +02:00

1019 B

title description image
inputDocument Defines a video for subsequent interaction. https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: inputDocument

Back to constructors index

Defines a video for subsequent interaction.

Attributes:

Name Type Required Description
id long Yes Document ID
access_hash long Yes access_hash parameter from the document constructor
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'}