messages.StickerSet
- class pyrogram.raw.base.messages.StickerSet
Stickerset
- Constructors:
This base type has 2 constructors available.
Stickerset and stickers inside it
The stickerset hasn't changed
- Functions:
This object can be returned by 9 functions.
Get info about a stickerset
Create a stickerset.
Remove a sticker from the set where it belongs.
Changes the absolute position of a sticker in the set to which it belongs.
Add a sticker to a stickerset.
Set stickerset thumbnail
Update the keywords, emojis or mask coordinates of a sticker.
Renames a stickerset.
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
├── 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│ │ │ └── type →
string│ │ ├──
PhotoSize│ │ │ ├── type →
string│ │ │ ├── w →
int│ │ │ ├── h →
int│ │ │ └── size →
int│ │ ├──
PhotoCachedSize│ │ │ ├── type →
string│ │ │ ├── w →
int│ │ │ ├── h →
int│ │ │ └── bytes →
bytes│ │ ├──
PhotoStrippedSize│ │ │ ├── type →
string│ │ │ └── bytes →
bytes│ │ ├──
PhotoSizeProgressive│ │ │ ├── type →
string│ │ │ ├── w →
int│ │ │ ├── h →
int│ │ │ └── sizes →
Vector < int >│ │ └──
PhotoPathSize│ │ ├── type →
string│ │ └── bytes →
bytes│ ├── 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│ │ └── type →
string│ ├──
PhotoSize│ │ ├── type →
string│ │ ├── w →
int│ │ ├── h →
int│ │ └── size →
int│ ├──
PhotoCachedSize│ │ ├── type →
string│ │ ├── w →
int│ │ ├── h →
int│ │ └── bytes →
bytes│ ├──
PhotoStrippedSize│ │ ├── type →
string│ │ └── bytes →
bytes│ ├──
PhotoSizeProgressive│ │ ├── type →
string│ │ ├── w →
int│ │ ├── h →
int│ │ └── sizes →
Vector < int >│ └──
PhotoPathSize│ ├── type →
string│ └── bytes →
bytes├── video_thumbs →
Vector < VideoSize > (optional)│ ├──
VideoSize│ │ ├── type →
string│ │ ├── w →
int│ │ ├── h →
int│ │ ├── size →
int│ │ └── video_start_ts →
double (optional)│ ├──
VideoSizeEmojiMarkup│ │ ├── emoji_id →
long│ │ └── background_colors →
Vector < int >│ └──
VideoSizeStickerMarkup│ ├── stickerset →
InputStickerSet│ │ ├──
InputStickerSetEmpty│ │ ├──
InputStickerSetID│ │ ├──
InputStickerSetShortName│ │ ├──
InputStickerSetAnimatedEmoji│ │ ├──
InputStickerSetDice│ │ ├──
InputStickerSetPremiumGifts│ │ └──
InputStickerSetTonGifts│ ├── sticker_id →
long│ └── background_colors →
Vector < int >├── dc_id →
int└── attributes →
Vector < DocumentAttribute >│ ├── w →
int│ └── h →
int│ ├── mask →
true (optional)│ ├── alt →
string│ ├── stickerset →
InputStickerSet│ │ ├──
InputStickerSetEmpty│ │ ├──
InputStickerSetID│ │ ├──
InputStickerSetShortName│ │ ├──
InputStickerSetAnimatedEmoji│ │ ├──
InputStickerSetDice│ │ ├──
InputStickerSetPremiumGifts│ │ └──
InputStickerSetTonGifts│ └── mask_coords →
MaskCoords (optional)│ └──
MaskCoords│ ├── round_message →
true (optional)│ ├── supports_streaming →
true (optional)│ ├── nosound →
true (optional)│ ├── duration →
double│ ├── w →
int│ ├── h →
int│ ├── preload_prefix_size →
int (optional)│ ├── video_start_ts →
double (optional)│ └── video_codec →
string (optional)│ ├── voice →
true (optional)│ ├── duration →
int│ ├── title →
string (optional)│ ├── performer →
string (optional)│ └── waveform →
bytes (optional)│ └── file_name →
string├── free →
true (optional)├── text_color →
true (optional)├── alt →
string└── stickerset →
InputStickerSetExample
StickerSet(
set=StickerSet(
archived=None,
official=None,
masks=None,
emojis=None,
text_color=None,
channel_emoji_status=None,
creator=None,
installed_date=None,
id=0,
access_hash=0,
title="text",
short_name="text",
thumbs=None,
thumb_dc_id=None,
thumb_version=None,
thumb_document_id=None,
count=0,
hash=0
),
packs=[
StickerPack(
emoticon="text",
documents=[0]
)
],
keywords=[
StickerKeyword(
document_id=0,
keyword=["text"]
)
],
documents=[
DocumentEmpty(id=0)
],
)