pub struct StickerSet {Show 15 fields
pub id: i64,
pub title: String,
pub name: String,
pub thumbnail: Option<Thumbnail>,
pub thumbnail_outline: Vec<ClosedVectorPath>,
pub is_owned: bool,
pub is_installed: bool,
pub is_archived: bool,
pub is_official: bool,
pub sticker_type: StickerType,
pub needs_repainting: bool,
pub is_allowed_as_chat_emoji_status: bool,
pub is_viewed: bool,
pub stickers: Vec<Sticker>,
pub emojis: Vec<Emojis>,
}
Expand description
Represents a sticker set
Fields§
§id: i64
Identifier of the sticker set
title: String
Title of the sticker set
name: String
Name of the sticker set
thumbnail: Option<Thumbnail>
Sticker set thumbnail in WEBP, TGS, or WEBM format with width and height 100; may be null. The file can be downloaded only before the thumbnail is changed
thumbnail_outline: Vec<ClosedVectorPath>
Sticker set thumbnail’s outline represented as a list of closed vector paths; may be empty. The coordinate system origin is in the upper-left corner
is_owned: bool
True, if the sticker set is owned by the current user
is_installed: bool
True, if the sticker set has been installed by the current user
is_archived: bool
True, if the sticker set has been archived. A sticker set can’t be installed and archived simultaneously
is_official: bool
True, if the sticker set is official
sticker_type: StickerType
Type of the stickers in the set
needs_repainting: bool
True, if stickers in the sticker set are custom emoji that must be repainted; for custom emoji sticker sets only
is_allowed_as_chat_emoji_status: bool
True, if stickers in the sticker set are custom emoji that can be used as chat emoji status; for custom emoji sticker sets only
is_viewed: bool
True for already viewed trending sticker sets
stickers: Vec<Sticker>
List of stickers in this set
emojis: Vec<Emojis>
A list of emoji corresponding to the stickers in the same order. The list is only for informational purposes, because a sticker is always sent with a fixed emoji from the corresponding Sticker object
Trait Implementations§
Source§impl Clone for StickerSet
impl Clone for StickerSet
Source§fn clone(&self) -> StickerSet
fn clone(&self) -> StickerSet
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more