StickerSet
- class pyrogram.raw.types.StickerSet
Represents a stickerset (stickerpack)
Constructor of
StickerSet.- Details:
Layer:
223ID:
2DD14EDC
- Parameters:
id (
int64-bit) – ID of the stickersetaccess_hash (
int64-bit) – Access hash of stickersettitle (
str) – Title of stickersetshort_name (
str) – Short name of stickerset, used when sharing stickerset using stickerset deep links.count (
int32-bit) – Number of stickers in packhash (
int32-bit) – Hasharchived (
bool, optional) – Whether this stickerset was archived (due to too many saved stickers in the current account)official (
bool, optional) – Is this stickerset officialmasks (
bool, optional) – Is this a mask stickersetemojis (
bool, optional) – This is a custom emoji stickersettext_color (
bool, optional) – Whether the color of this TGS custom emoji stickerset should be changed to the text color when used in messages, the accent color if used as emoji status, white on chat photos, or another appropriate color based on context.channel_emoji_status (
bool, optional) – If set, this custom emoji stickerset can be used in channel/supergroup emoji statuses.creator (
bool, optional) – Whether we created this stickersetinstalled_date (
int32-bit, optional) – When was this stickerset installedthumbs (List of
PhotoSize, optional) – Stickerset thumbnailthumb_dc_id (
int32-bit, optional) – DC ID of thumbnailthumb_version (
int32-bit, optional) – Thumbnail versionthumb_document_id (
int64-bit, optional) – Document ID of custom emoji thumbnail, fetch the document using messages.getCustomEmojiDocuments
TL Schema
stickerSet#2dd14edc
flags:#
archived:flags.1?true
official:flags.2?true
masks:flags.3?true
emojis:flags.7?true
text_color:flags.9?true
channel_emoji_status:flags.10?true
creator:flags.11?true
installed_date:flags.0?int
id:long
access_hash:long
title:string
short_name:string
thumbs:flags.4?Vector<PhotoSize>
thumb_dc_id:flags.4?int
thumb_version:flags.4?int
thumb_document_id:flags.8?long
count:int
hash:int
= StickerSet
Parameter Tree
true (optional)true (optional)true (optional)true (optional)true (optional)true (optional)true (optional)int (optional)longlongstringstringVector < PhotoSize > (optional)PhotoSizeEmptystringPhotoSizestringintintintPhotoCachedSizestringintintbytesPhotoStrippedSizestringbytesPhotoSizeProgressivestringintintVector < int >PhotoPathSizestringbytesint (optional)int (optional)long (optional)intintExample
StickerSet(
id=0,
access_hash=0,
title="text",
short_name="text",
count=0,
hash=0,
)