peyk.platforms.telegram.types.sticker_set¶
Classes
|
This object represents a sticker set. |
- class peyk.platforms.telegram.types.sticker_set.StickerSet(name: str, title: str, sticker_type: str, stickers: List[Sticker], is_animated: bool = False, is_video: bool = False, thumbnail: PhotoSize | None = None)[source]¶
Bases:
objectThis object represents a sticker set.
- Variables:
name (str) – Sticker set name
title (str) – Sticker set title
sticker_type (str) – Type of stickers in the set, currently one of ‘regular’, ‘mask’, ‘custom_emoji’
stickers (List[peyk.platforms.telegram.types.sticker.Sticker]) – List of all set stickers
thumbnail (peyk.platforms.telegram.types.photo_size.PhotoSize | None) – Sticker set thumbnail in the .WEBP, .TGS, or .WEBM format
is_animated (bool) – True, if the sticker set contains animated stickers
is_video (bool) – True, if the sticker set contains video stickers
- name: str¶
- title: str¶
- sticker_type: str¶
- is_animated: bool = False¶
- is_video: bool = False¶
- classmethod from_dict(data: dict | None) StickerSet | None[source]¶
Provides the from dict operation for the Telegram integration.
- Parameters:
data – Value used by this operation.
- Returns:
Result produced by the operation.