pub struct StickerSetInfo {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 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. 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
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