document

Document

document#9efc6326 id:long access_hash:long user_id:int date:int file_name:string mime_type:string size:int thumb:PhotoSize dc_id:int = Document;

Parameters

Name Type Description
flags # Flags, see TL conditional fields
id long Document ID
access_hash long Check sum, dependent on document ID
file_reference bytes File reference
date int Creation date
mime_type string MIME type
size long Size
thumbs flags.0?Vector<PhotoSize> Thumbnails
video_thumbs flags.1?Vector<VideoSize> Video thumbnails
dc_id int DC ID
attributes Vector<DocumentAttribute> Attributes

Type

Document

Related pages

File references

How to handle file references.