Link Search Menu Expand Document

Constructor: inputDocument

Back to constructors index

Defines a document for subsequent interaction.

Attributes:

NameTypeRequiredDescription
idlongYesDocument ID
access_hashlongYesaccess_hash parameter from the document constructor
file_referencebytesYesFile reference

Type: InputDocument

Example:

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