mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 14:35:36 +01:00
Improve types
This commit is contained in:
parent
27901b1614
commit
1b97feebf5
1 changed files with 2 additions and 2 deletions
|
@ -5,8 +5,8 @@ use crate::core::types::{PhotoSize, MaskPosition};
|
|||
#[derive(Debug, Deserialize, Hash, PartialEq, Eq)]
|
||||
pub struct Sticker {
|
||||
pub file_id: String,
|
||||
pub width: i32,
|
||||
pub height: i32,
|
||||
pub width: u16,
|
||||
pub height: u16,
|
||||
pub is_animated: bool,
|
||||
pub thumb: Option<PhotoSize>,
|
||||
pub emoji: Option<String>,
|
||||
|
|
Loading…
Reference in a new issue