MadelineProtoDocs/old_docs/API_docs_v16/constructors/messages.featuredStickers.md

42 lines
1.1 KiB
Markdown
Raw Normal View History

2020-06-16 17:50:25 +02:00
---
title: messages.featuredStickers
description: Featured stickersets
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
redirect_from: /API_docs/constructors/messages_featuredStickers.html
---
# Constructor: messages.featuredStickers
[Back to constructors index](index.md)
Featured stickersets
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|hash|[int](../types/int.md) | Yes|
|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|Featured stickersets|
|unread|Array of [long](../types/long.md) | Yes|IDs of new featured stickersets|
### Type: [messages.FeaturedStickers](../types/messages.FeaturedStickers.md)
### Example:
```php
$messages.featuredStickers = ['_' => 'messages.featuredStickers', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered], 'unread' => [long, long]];
```
Or, if you're into Lua:
```lua
messages.featuredStickers={_='messages.featuredStickers', hash=int, sets={StickerSetCovered}, unread={long}}
```