MadelineProtoDocs/docs/API_docs/constructors/emojiGroup.md
2024-05-01 14:53:46 +02:00

1023 B

title description nav_exclude image
emojiGroup Represents an emoji category. true https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: emojiGroup

Back to constructors index

Represents an emoji category.

Attributes:

Name Type Required Description
title string Yes Category name, i.e. "Animals", "Flags", "Faces" and so on...
icon_emoji_id long Yes A single custom emoji used as preview for the category.
emoticons Array of string Yes A list of UTF-8 emojis, matching the category.

Type: EmojiGroup

Example:

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