Constructor: inputDocument

Back to constructors index

Defines a video for subsequent interaction.


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


$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'}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.