MadelineProtoDocs/old_docs/API_docs_v6/constructors/stickerPack.md
2020-10-01 20:29:43 +02:00

967 B

title description image
stickerPack A stickerpack is a group of stickers associated to the same emoji. https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: stickerPack

Back to constructors index

A stickerpack is a group of stickers associated to the same emoji.
It is not a sticker pack the way it is usually intended, you may be looking for a StickerSet.

Attributes:

Name Type Required Description
emoticon string Yes Emoji
documents Array of long Yes Stickers

Type: StickerPack

Example:

$stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [long, long]];

Or, if you're into Lua:

stickerPack={_='stickerPack', emoticon='string', documents={long}}