MadelineProto/docs/TD_docs/constructors/updateRecentStickers.md

46 lines
1.0 KiB
Markdown
Raw Normal View History

---
title: updateRecentStickers
description: List of recently used stickers was updated
---
## Constructor: updateRecentStickers
[Back to constructors index](index.md)
List of recently used stickers was updated
### Attributes:
| Name | Type | Required | Description |
|----------|:-------------:|:--------:|------------:|
|is\_attached|[Bool](../types/Bool.md) | Yes|True, if the list of stickers attached to photo or video files was updated, otherwise the list of sent stickers is updated|
|sticker\_ids|Array of [int](../constructors/int.md) | Yes|New list of recently used stickers|
### Type: [Update](../types/Update.md)
### Example:
```
2017-07-23 16:33:46 +02:00
$updateRecentStickers = ['_' => 'updateRecentStickers', 'is_attached' => Bool, 'sticker_ids' => [int]];
```
2017-07-23 16:11:02 +02:00
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
2017-07-23 16:33:46 +02:00
{"_": "updateRecentStickers", "is_attached": Bool, "sticker_ids": [int]}
2017-07-23 16:11:02 +02:00
```
Or, if you're into Lua:
```
2017-07-23 16:33:46 +02:00
updateRecentStickers={_='updateRecentStickers', is_attached=Bool, sticker_ids={int}}
```