MadelineProtoDocs/old_docs/API_docs_v70/constructors/messages.allStickers.md

40 lines
925 B
Markdown
Raw Normal View History

2019-06-23 13:07:51 +02:00
---
title: messages.allStickers
2019-12-27 17:48:04 +01:00
description: Info about all installed stickers
2019-06-23 13:07:51 +02:00
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: messages.allStickers
[Back to constructors index](index.md)
2019-12-27 17:48:04 +01:00
Info about all installed stickers
2019-06-23 13:07:51 +02:00
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
2019-12-27 17:48:04 +01:00
|hash|[int](../types/int.md) | Yes|[Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation)|
2019-06-23 13:07:51 +02:00
|sets|Array of [StickerSet](../types/StickerSet.md) | Yes|Sets|
2019-12-27 18:25:37 +01:00
### Type: [messages.AllStickers](../types/messages.AllStickers.md)
2019-06-23 13:07:51 +02:00
### Example:
```php
2019-12-27 18:25:37 +01:00
$messages.allStickers = ['_' => 'messages.allStickers', 'hash' => int, 'sets' => [StickerSet, StickerSet]];
2019-06-23 13:07:51 +02:00
```
Or, if you're into Lua:
```lua
2019-12-27 18:25:37 +01:00
messages.allStickers={_='messages.allStickers', hash=int, sets={StickerSet}}
2019-06-23 13:07:51 +02:00
```