From 1087b0aa2b299d2bb543911f334ce8e18ad07e4d Mon Sep 17 00:00:00 2001 From: RustemB Date: Tue, 3 Sep 2019 01:22:16 +0500 Subject: [PATCH] New struct: StickerSet --- src/core/types/sticker_set.rs | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/core/types/sticker_set.rs diff --git a/src/core/types/sticker_set.rs b/src/core/types/sticker_set.rs new file mode 100644 index 00000000..07cc4e99 --- /dev/null +++ b/src/core/types/sticker_set.rs @@ -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, +}