MadelineProtoDocs/old_docs/API_docs_v104/constructors/inputDocument.md
2019-12-27 17:48:04 +01: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'}