use crate::model::id::{StickerId, StickerPackId};
#[derive(Clone, Debug, Deserialize, Serialize)]
#[non_exhaustive]
pub struct Sticker {
pub id: StickerId,
pub pack_id: Option<StickerPackId>,
pub name: String,
pub description: String,
pub tags: Option<String>,
pub asset: String,
pub preview_asset: Option<String>,
pub format_type: StickerFormatType,
}
#[derive(Clone, Copy, Debug, Eq, Hash, PartialEq, PartialOrd, Ord)]
#[non_exhaustive]
pub enum StickerFormatType {
Png = 1,
Apng = 2,
Lottie = 3,
Unknown = !0,
}
enum_number!(StickerFormatType {
Png,
Apng,
Lottie
});