Struct dasi::model::Attachment
[−]
[src]
pub struct Attachment {
pub id: String,
pub filename: String,
pub url: String,
pub proxy_url: String,
pub size: u64,
pub dimensions: Option<(u64, u64)>,
}File upload attached to a message
Fields
id | |
filename | Short filename for the attachment |
url | Shorter URL with message and attachment id |
proxy_url | Longer URL with large hash |
size | Size of the file in bytes |
dimensions | Dimensions if the file is an image |