MadelineProtoDocs/old_docs/API_docs_v109/constructors/messages.favedStickers.md

42 lines
1.1 KiB
Markdown
Raw Normal View History

2020-03-06 12:24:14 +01:00
---
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}}
```