inputDocumentFileLocation

Document location (video, voice, audio, basically every type except photo)

Constructor schema is available as of layer 54. Switch ยป

Parameters

Name Type Description
id long Document ID
access_hash long access_hash parameter from the document constructor
file_reference bytes File reference
thumb_size string Thumbnail size to download the thumbnail

Type

InputFileLocation

Related pages

document

Document

File references

How to handle file references.