messages.EmojiGroups

class pyrogram.raw.base.messages.EmojiGroups

Represents a list of emoji categories.

Constructors:

This base type has 2 constructors available.

messages.EmojiGroups

Represents a list of emoji categories.

messages.EmojiGroupsNotModified

The list of emoji categories hasn't changed.

Functions:

This object can be returned by 4 functions.

messages.GetEmojiGroups

Represents a list of emoji categories.

messages.GetEmojiStatusGroups

Represents a list of emoji categories, to be used when selecting custom emojis to set as custom emoji status.

messages.GetEmojiProfilePhotoGroups

Represents a list of emoji categories, to be used when selecting custom emojis to set as profile picture.

messages.GetEmojiStickerGroups

Represents a list of emoji categories, to be used when choosing a sticker.

TL Schema

messages.emojiGroups#881fb94b
hash:int
groups:Vector<EmojiGroup>

= messages.EmojiGroups

Parameter Tree

EmojiGroups
├── hashint
└── groupsVector < EmojiGroup >
├── EmojiGroup
│ ├── titlestring
│ ├── icon_emoji_idlong
│ └── emoticonsVector < string >
│ ├── titlestring
│ ├── icon_emoji_idlong
│ └── emoticonsVector < string >
├── titlestring
└── icon_emoji_idlong

Example

EmojiGroups(
    hash=0,
    groups=[
            EmojiGroup(
                title="text",
                icon_emoji_id=0,
                emoticons=["text"]
            )
        ],
)