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
| 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 | Vector<PhotoSize> | Thumbnails |
video_thumbs | Vector<VideoSize> | Video thumbnails |
dc_id | int | DC ID |
attributes | Vector<DocumentAttribute> | Attributes |
type
Document · other constructors: documentEmpty
history
present in layers 10–229 · constructor id changed 7×
| id | layers |
|---|---|
| #9efc6326 | 10–18 |
| #f9a39f4f | 23–46 |
| #87232bc7 | 62–84 |
| #ca84c039 | 85 |
| #59534e4c | 86–92 |
| #9ba29cc1 | 93–113 |
| #1e87342b | 114–142 |
| #8fd4c4d8 | 143–229 |