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

1.1 KiB

title: stickerPack description: 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. image: 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}}