Skip to main content

inputDocumentFileLocation

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

type tg.InputDocumentFileLocation struct { /* ... */ }

Implements InputFileLocation.

Fields

NameTypeRequiredDescription
IDint64yesDocument ID
AccessHashint64yesaccess_hash parameter from the document constructor
FileReference[]byteyesFile reference
ThumbSizestringyesThumbnail size to download the thumbnail

References