messages.RecentStickers
- class pyrogram.raw.types.messages.RecentStickers
Recently used stickers
Constructor of
RecentStickers.- Details:
Layer:
223ID:
88D37C56
- Parameters:
hash (
int64-bit) – Hash used for caching, for more info click herepacks (List of
StickerPack) – Emojis associated to stickersstickers (List of
Document) – Recent stickersdates (List of
int32-bit) – When was each sticker last used
- Functions:
This object can be returned by 1 function.
Get recent stickers
TL Schema
messages.recentStickers#88d37c56
hash:long
packs:Vector<StickerPack>
stickers:Vector<Document>
dates:Vector<int>
= messages.RecentStickers
Parameter Tree
RecentStickers
├── hash →
long├── packs →
Vector < StickerPack >│ └──
StickerPack│ ├── emoticon →
string│ └── documents →
Vector < long >├── stickers →
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│ │ │ ├──
InputStickerSetAnimatedEmojiAnimations│ │ │ ├──
InputStickerSetPremiumGifts│ │ │ ├──
InputStickerSetEmojiGenericAnimations│ │ │ ├──
InputStickerSetEmojiDefaultStatuses│ │ │ ├──
InputStickerSetEmojiDefaultTopicIcons│ │ │ └──
InputStickerSetTonGifts│ │ ├── sticker_id →
long│ │ └── background_colors →
Vector < int >│ ├── dc_id →
int│ └── attributes →
Vector < DocumentAttribute >│ │ ├── w →
int│ │ └── h →
int│ ├──
DocumentAttributeSticker│ │ ├── mask →
true (optional)│ │ ├── alt →
string│ │ ├── stickerset →
InputStickerSet│ │ │ ├──
InputStickerSetEmpty│ │ │ ├──
InputStickerSetID│ │ │ ├──
InputStickerSetShortName│ │ │ ├──
InputStickerSetAnimatedEmoji│ │ │ ├──
InputStickerSetDice│ │ │ ├──
InputStickerSetAnimatedEmojiAnimations│ │ │ ├──
InputStickerSetPremiumGifts│ │ │ ├──
InputStickerSetEmojiGenericAnimations│ │ │ ├──
InputStickerSetEmojiDefaultStatuses│ │ │ ├──
InputStickerSetEmojiDefaultTopicIcons│ │ │ └──
InputStickerSetTonGifts│ │ └── mask_coords →
MaskCoords (optional)│ │ └──
MaskCoords│ ├──
DocumentAttributeVideo│ │ ├── 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)│ ├──
DocumentAttributeAudio│ │ ├── 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 →
InputStickerSet│ ├──
InputStickerSetEmpty│ ├──
InputStickerSetID│ ├──
InputStickerSetShortName│ ├──
InputStickerSetDice│ └──
InputStickerSetTonGifts└── dates →
Vector < int >Example
RecentStickers(
hash=0,
packs=[
StickerPack(
emoticon="text",
documents=[0]
)
],
stickers=[
DocumentEmpty(id=0)
],
dates=[0],
)