document

document#8fd4c4d8 flags:# id:long access_hash:long file_reference:bytes date:int mime_type:string size:long thumbs:flags.0?Vector<PhotoSize> video_thumbs:flags.1?Vector<VideoSize> dc_id:int attributes:Vector<DocumentAttribute> = Document;

Parameters

NameTypeDescription
flags # Bit mask: a field written flags.N?T is present only when bit N is set.
id long Identifier of the object — which object depends on the field's type.
access_hash long Access hash: without it the server does not accept the identifier. It arrives with the object and belongs to it.
file_reference bytes Reference to a file: short-lived, refreshed together with the message.
date int A point in time, unix seconds.
mime_type string Content type of the file.
size long Size in bytes.
thumbs flags.0?Vector<PhotoSize>
video_thumbs flags.1?Vector<VideoSize>
dc_id int Number of the data centre holding the object.
attributes Vector<DocumentAttribute>

Type

Document

Related pages

Types used here