Struct actix_telegram::types::Document [−][src]
pub struct Document { pub file_id: String, pub thumb: Option<PhotoSize>, pub file_name: Option<String>, pub mime_type: Option<String>, pub file_size: Option<Integer>, }
This object represents a general file (as opposed to photos, voice messages and audio files).
Fields
file_id: String
Unique file identifier
thumb: Option<PhotoSize>
Document thumbnail as defined by sender
file_name: Option<String>
Original filename as defined by sender
mime_type: Option<String>
MIME type of the file as defined by sender
file_size: Option<Integer>
File size