Struct tdlib::types::StickerSet
source · pub struct StickerSet {Show 13 fields
pub id: i64,
pub title: String,
pub name: String,
pub thumbnail: Option<Thumbnail>,
pub thumbnail_outline: Vec<ClosedVectorPath>,
pub is_installed: bool,
pub is_archived: bool,
pub is_official: bool,
pub sticker_format: StickerFormat,
pub sticker_type: StickerType,
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_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_format: StickerFormat
Format of the stickers in the set
sticker_type: StickerType
Type of the stickers in the set
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