MadelineProtoDocs/docs/API_docs/constructors/inputDocument.md
2024-05-01 14:53:46 +02:00

981 B

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

Constructor: inputDocument

Back to constructors index

Defines a document 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'];