telegram.StickerSet#
- class telegram.StickerSet(*args, **kwargs)[source]#
Bases:
telegram.TelegramObjectThis 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
nameis equal.Note
As of v13.11
is_videois a required argument and therefore the order of the arguments had to be changed. Use keyword arguments to make sure that the arguments are passed correctly.- Parameters
is_animated (
bool) –True, if the sticker set contains animated stickers.True, if the sticker set contains video stickers.New in version 13.11.
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,.TGS, or.WEBMformat.
- stickers[source]#
List of all set stickers.
- Type
List[
telegram.Sticker]