pub struct StickerSetInfo {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 size: i32,
pub covers: Vec<Sticker>,
}
Expand description
Represents short information about 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
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
size: i32
Total number of stickers in the set
covers: Vec<Sticker>
Up to the first 5 stickers from the set, depending on the context. If the application needs more stickers the full sticker set needs to be requested
Trait Implementations§
Source§impl Clone for StickerSetInfo
impl Clone for StickerSetInfo
Source§fn clone(&self) -> StickerSetInfo
fn clone(&self) -> StickerSetInfo
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more