MadelineProtoDocs/docs/API_docs/constructors/messages.favedStickers.md
2019-12-27 18:46:25 +01:00

42 lines
1.1 KiB
Markdown

---
title: messages.favedStickers
description: Favorited stickers
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
redirect_from: /API_docs/constructors/messages_favedStickers.html
---
# Constructor: messages.favedStickers
[Back to constructors index](index.md)
Favorited stickers
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)|
|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|Packs|
|stickers|Array of [Document](../types/Document.md) | Yes|Stickers|
### Type: [messages.FavedStickers](../types/messages.FavedStickers.md)
### Example:
```php
$messages.favedStickers = ['_' => 'messages.favedStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document]];
```
Or, if you're into Lua:
```lua
messages.favedStickers={_='messages.favedStickers', hash=int, packs={StickerPack}, stickers={Document}}
```