MadelineProtoDocs/old_docs/API_docs_v43/constructors/emojiKeyword.md
2020-09-12 12:47:38 +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'}}