MadelineProto/docs/TD_docs/constructors/stickerEmojis.md

45 lines
1.1 KiB
Markdown
Raw Normal View History

---
title: stickerEmojis
description: Represents list of all emojis corresponding to a sticker in a sticker set. The list is only for informational purposes because sticker is always sent with a fixed emoji from the corresponding Sticker object
---
## Constructor: stickerEmojis
[Back to constructors index](index.md)
Represents list of all emojis corresponding to a sticker in a sticker set. The list is only for informational purposes because sticker is always sent with a fixed emoji from the corresponding Sticker object
### Attributes:
| Name | Type | Required | Description |
|----------|:-------------:|:--------:|------------:|
|emojis|Array of [string](../constructors/string.md) | Yes|List of emojis|
### Type: [StickerEmojis](../types/StickerEmojis.md)
### Example:
```
2017-07-23 16:33:46 +02:00
$stickerEmojis = ['_' => 'stickerEmojis', 'emojis' => ['string']];
```
2017-07-23 16:11:02 +02:00
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
2017-07-23 16:33:46 +02:00
{"_": "stickerEmojis", "emojis": ["string"]}
2017-07-23 16:11:02 +02:00
```
Or, if you're into Lua:
```
2017-07-23 16:33:46 +02:00
stickerEmojis={_='stickerEmojis', emojis={'string'}}
```