Struct telegram_bot2::models::StickerSet
source · pub struct StickerSet {
pub name: String,
pub title: String,
pub sticker_type: String,
pub is_animated: bool,
pub is_video: bool,
pub stickers: Vec<Sticker>,
pub thumb: Option<PhotoSize>,
}Expand description
This object represents a sticker set
Fields§
§name: StringSticker set name
title: StringSticker set title
sticker_type: StringType of stickers in the set, currently one of “regular”, “mask”, “custom_emoji”
is_animated: boolTrue, if the sticker set contains animated stickers
is_video: boolTrue, if the sticker set contains video stickers
stickers: Vec<Sticker>List of all set stickers
thumb: Option<PhotoSize>Sticker set thumbnail in the .WEBP, .TGS, or .WEBM format
Trait Implementations§
source§impl Clone for StickerSet
impl Clone for StickerSet
source§fn clone(&self) -> StickerSet
fn clone(&self) -> StickerSet
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for StickerSet
impl Debug for StickerSet
source§impl<'de> Deserialize<'de> for StickerSet
impl<'de> Deserialize<'de> for StickerSet
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more