MadelineProtoDocs/old_docs/API_docs_v38/constructors/emojiKeyword.md
2020-06-16 17:50:25 +02:00

776 B

title description image
emojiKeyword Emoji keyword https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: emojiKeyword

Back to constructors index

Emoji keyword

Attributes:

Name Type Required Description
keyword string Yes Keyword
emoticons Array of string Yes Emojis associated to keyword

Type: EmojiKeyword

Example:

$emojiKeyword = ['_' => 'emojiKeyword', 'keyword' => 'string', 'emoticons' => ['string', 'string']];

Or, if you're into Lua:

emojiKeyword={_='emojiKeyword', keyword='string', emoticons={'string'}}