mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 14:35:36 +01:00
New struct: StickerSet
This commit is contained in:
parent
1b97feebf5
commit
1087b0aa2b
1 changed files with 12 additions and 0 deletions
12
src/core/types/sticker_set.rs
Normal file
12
src/core/types/sticker_set.rs
Normal file
|
@ -0,0 +1,12 @@
|
|||
use serde::Deserialize;
|
||||
|
||||
use crate::core::types::{Sticker};
|
||||
|
||||
#[derive(Debug, Deserialize, Hash, PartialEq, Eq)]
|
||||
pub struct Sticker {
|
||||
pub name: String,
|
||||
pub title: String,
|
||||
pub is_animated: bool,
|
||||
pub contains_masks: bool,
|
||||
pub stickers: Vec<Sticker>,
|
||||
}
|
Loading…
Reference in a new issue