MadelineProtoDocs/old_docs/API_docs_v23/constructors/stickerSet.md
2020-06-16 17:50:25 +02:00

1.6 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
installed Bool Optional
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
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

Type: StickerSet

Example:

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

Or, if you're into Lua:

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