2019-06-23 13:07:51 +02:00
|
|
|
---
|
|
|
|
title: stickerPack
|
2019-12-27 17:48:04 +01:00
|
|
|
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](../types/StickerSet.md).
|
2019-06-23 13:07:51 +02:00
|
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
|
|
---
|
|
|
|
# Constructor: stickerPack
|
|
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-12-27 17:48:04 +01:00
|
|
|
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](../types/StickerSet.md).
|
2019-06-23 13:07:51 +02:00
|
|
|
|
|
|
|
### Attributes:
|
|
|
|
|
|
|
|
| Name | Type | Required | Description |
|
|
|
|
|----------|---------------|----------|-------------|
|
2019-12-27 17:48:04 +01:00
|
|
|
|emoticon|[string](../types/string.md) | Yes|Emoji|
|
2019-06-23 13:07:51 +02:00
|
|
|
|documents|Array of [long](../types/long.md) | Yes|Documents|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Type: [StickerPack](../types/StickerPack.md)
|
|
|
|
|
|
|
|
|
|
|
|
### Example:
|
|
|
|
|
|
|
|
```php
|
|
|
|
$stickerPack = ['_' => 'stickerPack', 'emoticon' => 'string', 'documents' => [long, long]];
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
Or, if you're into Lua:
|
|
|
|
|
|
|
|
```lua
|
|
|
|
stickerPack={_='stickerPack', emoticon='string', documents={long}}
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|