messages.StickerSet

class pyrogram.raw.types.messages.StickerSet

Stickerset and stickers inside it

Constructor of StickerSet.

Details:
  • Layer: 223

  • ID: 6E153F16

Parameters:
  • set (StickerSet) – The stickerset

  • packs (List of StickerPack) – Emoji info for stickers

  • keywords (List of StickerKeyword) – Keywords for some or every sticker in the stickerset.

  • documents (List of Document) – Stickers in stickerset

Functions:

This object can be returned by 9 functions.

messages.GetStickerSet

Get info about a stickerset

stickers.CreateStickerSet

Create a stickerset.

stickers.RemoveStickerFromSet

Remove a sticker from the set where it belongs.

stickers.ChangeStickerPosition

Changes the absolute position of a sticker in the set to which it belongs.

stickers.AddStickerToSet

Add a sticker to a stickerset.

stickers.SetStickerSetThumb

Set stickerset thumbnail

stickers.ChangeSticker

Update the keywords, emojis or mask coordinates of a sticker.

stickers.RenameStickerSet

Renames a stickerset.

stickers.ReplaceSticker

Replace a sticker in a stickerset ».

TL Schema

messages.stickerSet#6e153f16
set:StickerSet
packs:Vector<StickerPack>
keywords:Vector<StickerKeyword>
documents:Vector<Document>

= messages.StickerSet

Parameter Tree

StickerSet
├── setStickerSet
│ └── StickerSet
│ ├── archivedtrue (optional)
│ ├── officialtrue (optional)
│ ├── maskstrue (optional)
│ ├── emojistrue (optional)
│ ├── text_colortrue (optional)
│ ├── channel_emoji_statustrue (optional)
│ ├── creatortrue (optional)
│ ├── installed_dateint (optional)
│ ├── idlong
│ ├── access_hashlong
│ ├── titlestring
│ ├── short_namestring
│ ├── thumbsVector < PhotoSize > (optional)
│ │ ├── PhotoSizeEmpty
│ │ │ └── typestring
│ │ ├── PhotoSize
│ │ │ ├── typestring
│ │ │ ├── wint
│ │ │ ├── hint
│ │ │ └── sizeint
│ │ ├── PhotoCachedSize
│ │ │ ├── typestring
│ │ │ ├── wint
│ │ │ ├── hint
│ │ │ └── bytesbytes
│ │ ├── PhotoStrippedSize
│ │ │ ├── typestring
│ │ │ └── bytesbytes
│ │ ├── PhotoSizeProgressive
│ │ │ ├── typestring
│ │ │ ├── wint
│ │ │ ├── hint
│ │ │ └── sizesVector < int >
│ │ └── PhotoPathSize
│ │ ├── typestring
│ │ └── bytesbytes
│ ├── thumb_dc_idint (optional)
│ ├── thumb_versionint (optional)
│ ├── thumb_document_idlong (optional)
│ ├── countint
│ └── hashint
├── packsVector < StickerPack >
│ └── StickerPack
│ ├── emoticonstring
│ └── documentsVector < long >
├── keywordsVector < StickerKeyword >
│ └── StickerKeyword
│ ├── document_idlong
│ └── keywordVector < string >
└── documentsVector < Document >
├── DocumentEmpty
│ └── idlong
└── Document
├── idlong
├── access_hashlong
├── file_referencebytes
├── dateint
├── mime_typestring
├── sizelong
├── thumbsVector < PhotoSize > (optional)
│ ├── PhotoSizeEmpty
│ │ └── typestring
│ ├── PhotoSize
│ │ ├── typestring
│ │ ├── wint
│ │ ├── hint
│ │ └── sizeint
│ ├── PhotoCachedSize
│ │ ├── typestring
│ │ ├── wint
│ │ ├── hint
│ │ └── bytesbytes
│ ├── PhotoStrippedSize
│ │ ├── typestring
│ │ └── bytesbytes
│ ├── PhotoSizeProgressive
│ │ ├── typestring
│ │ ├── wint
│ │ ├── hint
│ │ └── sizesVector < int >
│ └── PhotoPathSize
│ ├── typestring
│ └── bytesbytes
├── video_thumbsVector < VideoSize > (optional)
│ ├── VideoSize
│ │ ├── typestring
│ │ ├── wint
│ │ ├── hint
│ │ ├── sizeint
│ │ └── video_start_tsdouble (optional)
│ ├── VideoSizeEmojiMarkup
│ │ ├── emoji_idlong
│ │ └── background_colorsVector < int >
│ ├── stickersetInputStickerSet
│ │ ├── InputStickerSetEmpty
│ │ ├── InputStickerSetID
│ │ ├── InputStickerSetShortName
│ │ ├── InputStickerSetDice
│ │ ├── InputStickerSetPremiumGifts
│ │ └── InputStickerSetTonGifts
│ ├── sticker_idlong
│ └── background_colorsVector < int >
├── dc_idint
└── attributesVector < DocumentAttribute >
│ ├── wint
│ └── hint
│ ├── masktrue (optional)
│ ├── altstring
│ ├── stickersetInputStickerSet
│ │ ├── InputStickerSetEmpty
│ │ ├── InputStickerSetID
│ │ ├── InputStickerSetShortName
│ │ ├── InputStickerSetDice
│ │ ├── InputStickerSetPremiumGifts
│ │ └── InputStickerSetTonGifts
│ └── mask_coordsMaskCoords (optional)
│ └── MaskCoords
│ ├── round_messagetrue (optional)
│ ├── supports_streamingtrue (optional)
│ ├── nosoundtrue (optional)
│ ├── durationdouble
│ ├── wint
│ ├── hint
│ ├── preload_prefix_sizeint (optional)
│ ├── video_start_tsdouble (optional)
│ └── video_codecstring (optional)
│ ├── voicetrue (optional)
│ ├── durationint
│ ├── titlestring (optional)
│ ├── performerstring (optional)
│ └── waveformbytes (optional)
│ └── file_namestring
├── freetrue (optional)
├── text_colortrue (optional)
├── altstring
└── stickersetInputStickerSet

Example

StickerSet(
    set=StickerSet(
        id=0,
        access_hash=0,
        title="text",
        short_name="text",
        count=0,
        hash=0
    ),
    packs=[
            StickerPack(
                emoticon="text",
                documents=[0]
            )
        ],
    keywords=[
            StickerKeyword(
                document_id=0,
                keyword=["text"]
            )
        ],
    documents=[
            DocumentEmpty(id=0)
        ],
)