mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 06:25:10 +01:00
Add Document (core/types.rs)
This commit is contained in:
parent
ab14d4b7e6
commit
9ffb2d45ef
1 changed files with 9 additions and 0 deletions
|
@ -94,4 +94,13 @@ pub struct ChatPermissions {
|
|||
can_change_info: Option<bool>,
|
||||
can_invite_users: Option<bool>,
|
||||
can_pin_messages: Option<bool>,
|
||||
}
|
||||
|
||||
#[derive(Debug, Deserialize)]
|
||||
pub struct Document {
|
||||
file_id: String,
|
||||
thumb: Option<PhotoSize>,
|
||||
file_name: Option<String>,
|
||||
mime_type: Option<String>,
|
||||
file_size: Option<i64>,
|
||||
}
|
Loading…
Reference in a new issue