mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 14:35:36 +01:00
Add ChatPhoto (core/types.rs)
This commit is contained in:
parent
2567ae1825
commit
de8dd3d84e
1 changed files with 6 additions and 0 deletions
|
@ -25,4 +25,10 @@ pub struct Chat {
|
||||||
permissions: Option<ChatPermissions>,
|
permissions: Option<ChatPermissions>,
|
||||||
sticker_set_name: Option<String>,
|
sticker_set_name: Option<String>,
|
||||||
can_set_sticker_set: Option<Bool>,
|
can_set_sticker_set: Option<Bool>,
|
||||||
|
}
|
||||||
|
|
||||||
|
#[derive(Debug, Deserialize)]
|
||||||
|
pub struct ChatPhoto {
|
||||||
|
small_file_id: String,
|
||||||
|
big_file_id: String,
|
||||||
}
|
}
|
Loading…
Reference in a new issue