telegram.StickerSet¶
-
class
telegram.
StickerSet
(name: str, title: str, is_animated: bool, contains_masks: bool, stickers: List[telegram.files.sticker.Sticker], bot: Bot = None, thumb: telegram.files.photosize.PhotoSize = None, **kwargs)¶ Bases:
telegram.base.TelegramObject
This object represents a sticker set.
Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if their
name
is equal.-
name
¶ Sticker set name.
Type: str
-
title
¶ Sticker set title.
Type: str
-
is_animated
¶ True
, if the sticker set contains animated stickers.Type: bool
-
contains_masks
¶ True
, if the sticker set contains masks.Type: bool
-
stickers
¶ List of all set stickers.
Type: List[ telegram.Sticker
]
-
thumb
¶ Optional. Sticker set thumbnail in the .WEBP or .TGS format.
Type: telegram.PhotoSize
Parameters: - name (
str
) – Sticker set name. - title (
str
) – Sticker set title. - is_animated (
bool
) –True
, if the sticker set contains animated stickers. - contains_masks (
bool
) –True
, if the sticker set contains masks. - stickers (List[
telegram.Sticker
]) – List of all set stickers. - thumb (
telegram.PhotoSize
, optional) – Sticker set thumbnail in the .WEBP or .TGS format.
-