messages.FeaturedStickers
- class pyrogram.raw.types.messages.FeaturedStickers
Featured stickersets
Constructor of
FeaturedStickers.- Details:
Layer:
223ID:
BE382906
- Parameters:
hash (
int64-bit) – Hash used for caching, for more info click herecount (
int32-bit) – Total number of featured stickerssets (List of
StickerSetCovered) – Featured stickersetsunread (List of
int64-bit) – IDs of new featured stickersetspremium (
bool, optional) – Whether this is a premium stickerset
- Functions:
This object can be returned by 3 functions.
Get featured stickers
Method for fetching previously featured stickers
Gets featured custom emoji stickersets.
TL Schema
messages.featuredStickers#be382906
flags:#
premium:flags.0?true
hash:long
count:int
sets:Vector<StickerSetCovered>
unread:Vector<long>
= messages.FeaturedStickers
Parameter Tree
FeaturedStickers
├── premium →
true (optional)├── hash →
long├── count →
int├── sets →
Vector < StickerSetCovered >│ ├──
StickerSetCovered│ │ ├── 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│ │ └── cover →
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 >│ │ ├──
DocumentAttributeImageSize│ │ ├──
DocumentAttributeAnimated│ │ ├──
DocumentAttributeSticker│ │ ├──
DocumentAttributeVideo│ │ ├──
DocumentAttributeAudio│ │ ├──
DocumentAttributeFilename│ │ ├──
DocumentAttributeHasStickers│ │ └──
DocumentAttributeCustomEmoji│ ├──
StickerSetMultiCovered│ │ ├── 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│ │ └── covers →
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 >│ │ ├──
DocumentAttributeImageSize│ │ ├──
DocumentAttributeAnimated│ │ ├──
DocumentAttributeSticker│ │ ├──
DocumentAttributeVideo│ │ ├──
DocumentAttributeAudio│ │ ├──
DocumentAttributeFilename│ │ ├──
DocumentAttributeHasStickers│ │ └──
DocumentAttributeCustomEmoji│ ├──
StickerSetFullCovered│ │ ├── 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 >│ │ ├──
DocumentAttributeImageSize│ │ ├──
DocumentAttributeAnimated│ │ ├──
DocumentAttributeSticker│ │ ├──
DocumentAttributeVideo│ │ ├──
DocumentAttributeAudio│ │ ├──
DocumentAttributeFilename│ │ ├──
DocumentAttributeHasStickers│ │ └──
DocumentAttributeCustomEmoji│ └──
StickerSetNoCovered│ └── 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└── unread →
Vector < long >Example
FeaturedStickers(
hash=0,
count=0,
sets=[
StickerSetCovered(
set=StickerSet(
id=0,
access_hash=0,
title="text",
short_name="text",
count=0,
hash=0
),
cover=DocumentEmpty(id=0)
)
],
unread=[0],
)