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

1.2 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
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', 'id' => long, 'access_hash' => long, 'title' => 'string', 'short_name' => 'string', 'count' => int, 'hash' => int];

Or, if you're into Lua:

stickerSet={_='stickerSet', id=long, access_hash=long, title='string', short_name='string', count=int, hash=int}