2019-03-29 21:12:30 +01:00
|
|
|
---
|
|
|
|
title: emojiKeyword
|
|
|
|
description: Emoji keyword
|
|
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
|
|
---
|
|
|
|
# Constructor: emojiKeyword
|
|
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Emoji keyword
|
|
|
|
|
|
|
|
### Attributes:
|
|
|
|
|
|
|
|
| Name | Type | Required | Description |
|
|
|
|
|----------|---------------|----------|-------------|
|
|
|
|
|keyword|[string](../types/string.md) | Yes|Keyword|
|
2020-06-16 17:50:25 +02:00
|
|
|
|emoticons|Array of [string](../types/string.md) | Yes|Emojis associated to keyword|
|
2019-03-29 21:12:30 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Type: [EmojiKeyword](../types/EmojiKeyword.md)
|
|
|
|
|
|
|
|
|
|
|
|
### Example:
|
|
|
|
|
|
|
|
```php
|
|
|
|
$emojiKeyword = ['_' => 'emojiKeyword', 'keyword' => 'string', 'emoticons' => ['string', 'string']];
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
Or, if you're into Lua:
|
|
|
|
|
|
|
|
```lua
|
|
|
|
emojiKeyword={_='emojiKeyword', keyword='string', emoticons={'string'}}
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|