MadelineProtoDocs/old_docs/API_docs_v102/constructors/stickerSet.md
2019-12-27 17:48:04 +01:00

2.0 KiB

title description image
stickerSet Represents a stickerset (stickerpack) https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: stickerSet

Back to constructors index

Represents a stickerset (stickerpack)

Attributes:

Name Type Required Description
archived Bool Optional Whether this stickerset was archived (due to too many saved stickers in the current account)
official Bool Optional Is this stickerset official
masks Bool Optional Is this a mask stickerset
animated Bool Optional Is this an animated stickerpack
installed_date int Optional When was this stickerset installed
id long Yes ID of the stickerset
access_hash long Yes Access hash of stickerset
title string Yes Title of stickerset
short_name string Yes Short name of stickerset to use in tg://addstickers?set=short_name
thumb PhotoSize Optional Thumbnail for stickerset
thumb_dc_id int Optional DC ID of thumbnail
count int Yes Number of stickers in pack
hash int Yes Hash

Type: StickerSet

Example:

$stickerSet = ['_' => 'stickerSet', 'archived' => Bool, 'official' => Bool, 'masks' => Bool, 'animated' => Bool, 'installed_date' => int, 'id' => long, 'access_hash' => long, 'title' => 'string', 'short_name' => 'string', 'thumb' => PhotoSize, 'thumb_dc_id' => int, 'count' => int, 'hash' => int];

Or, if you're into Lua:

stickerSet={_='stickerSet', archived=Bool, official=Bool, masks=Bool, animated=Bool, installed_date=int, id=long, access_hash=long, title='string', short_name='string', thumb=PhotoSize, thumb_dc_id=int, count=int, hash=int}