Link Search Menu Expand Document

Constructor: emojiGroup

Back to constructors index

Represents an emoji category.

Attributes:

NameTypeRequiredDescription
titlestringYesCategory name, i.e. “Animals”, “Flags”, “Faces” and so on…
icon_emoji_idlongYesA single custom emoji used as preview for the category.
emoticonsArray of stringYesA list of UTF-8 emojis, matching the category.

Type: EmojiGroup

Example:

$emojiGroup = ['_' => 'emojiGroup', 'title' => 'string', 'icon_emoji_id' => long, 'emoticons' => ['string', 'string']];