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

Unique file identifier

Document thumbnail as defined by sender

Original filename as defined by sender

MIME type of the file as defined by sender

File size

Trait Implementations

impl Debug for Document
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Document

impl Sync for Document