- API ›
- Constructors ›
- Document
Document
---types--- document#8fd4c4d8 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
Belongs to
| Document |
In Rust this constructor is a variant of the enums::Document enum.
Match on it with: if let enums::Document::Document(v) = result { ... }