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

1.7 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
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
count int Yes Number of stickers in pack
hash int Yes Hash

Type: StickerSet

Example:

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

Or, if you're into Lua:

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