telegram api constructor · layer 229 · #8fd4c4d8

document

Document

definition

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#Flags, see TL conditional fields
idlongDocument ID
access_hashlongCheck sum, dependent on document ID
file_referencebytesFile reference
dateintCreation date
mime_typestringMIME type
sizelongSize
thumbsflags.0?Vector<PhotoSize>Thumbnails
video_thumbsflags.1?Vector<VideoSize>Video thumbnails
dc_idintDC ID
attributesVector<DocumentAttribute>Attributes

type

Document · other constructors: documentEmpty

history

present in layers 10–229 · constructor id changed 7×

idlayers
#9efc632610–18
#f9a39f4f23–46
#87232bc762–84
#ca84c03985
#59534e4c86–92
#9ba29cc193–113
#1e87342b114–142
#8fd4c4d8143–229