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

1.4 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 Installed?
disabled Bool Optional Disabled?
official Bool Optional Is this stickerset official
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', 'installed' => Bool, 'disabled' => Bool, 'official' => 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, disabled=Bool, official=Bool, id=long, access_hash=long, title='string', short_name='string', count=int, hash=int}