MadelineProtoDocs/old_docs/API_docs_v51/constructors/stickerPack.md
2019-12-27 17:48:04 +01: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 Documents

Type: StickerPack

Example:

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

Or, if you're into Lua:

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