UpdateNewStickerSet

class pyrogram.raw.types.UpdateNewStickerSet

A new stickerset was installed

Constructor of Update.

Details:
  • Layer: 227

  • ID: 688A30AA

Parameters:

stickerset (messages.StickerSet) – The installed stickerset

TL Schema

updateNewStickerSet#688a30aa
stickerset:messages.StickerSet

= Update

Parameter Tree

UpdateNewStickerSet
└── stickerset → messages.StickerSet
│ ├── set → StickerSet
│ │ └── StickerSet
│ │ ├── archived → true (optional)
│ │ ├── official → true (optional)
│ │ ├── masks → true (optional)
│ │ ├── emojis → true (optional)
│ │ ├── text_color → true (optional)
│ │ ├── channel_emoji_status → true (optional)
│ │ ├── creator → true (optional)
│ │ ├── installed_date → int (optional)
│ │ ├── id → long
│ │ ├── access_hash → long
│ │ ├── title → string
│ │ ├── short_name → string
│ │ ├── thumbs → Vector < PhotoSize > (optional)
│ │ │ ├── PhotoSizeEmpty
│ │ │ ├── PhotoSize
│ │ │ ├── PhotoCachedSize
│ │ │ ├── PhotoStrippedSize
│ │ │ ├── PhotoSizeProgressive
│ │ │ └── PhotoPathSize
│ │ ├── thumb_dc_id → int (optional)
│ │ ├── thumb_version → int (optional)
│ │ ├── thumb_document_id → long (optional)
│ │ ├── count → int
│ │ └── hash → int
│ ├── packs → Vector < StickerPack >
│ │ └── StickerPack
│ │ ├── emoticon → string
│ │ └── documents → Vector < long >
│ ├── keywords → Vector < StickerKeyword >
│ │ └── StickerKeyword
│ │ ├── document_id → long
│ │ └── keyword → Vector < string >
│ └── documents → Vector < Document >
│ ├── DocumentEmpty
│ │ └── id → long
│ └── Document
│ ├── id → long
│ ├── access_hash → long
│ ├── file_reference → bytes
│ ├── date → int
│ ├── mime_type → string
│ ├── size → long
│ ├── thumbs → Vector < PhotoSize > (optional)
│ │ ├── PhotoSizeEmpty
│ │ ├── PhotoSize
│ │ ├── PhotoCachedSize
│ │ ├── PhotoStrippedSize
│ │ ├── PhotoSizeProgressive
│ │ └── PhotoPathSize
│ ├── video_thumbs → Vector < VideoSize > (optional)
│ │ ├── VideoSize
│ │ ├── VideoSizeEmojiMarkup
│ │ └── VideoSizeStickerMarkup
│ ├── dc_id → int
│ └── attributes → Vector < DocumentAttribute >

Example

UpdateNewStickerSet(
    stickerset=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)
            ]
    ),
)