EmojiGroup

class pyrogram.raw.types.EmojiGroup

Represents an emoji category.

Constructor of EmojiGroup.

Details:
  • Layer: 223

  • ID: 7A9ABDA9

Parameters:
  • title (str) – Category name, i.e. “Animals”, “Flags”, “Faces” and so on…

  • icon_emoji_id (int 64-bit) – A single custom emoji used as preview for the category.

  • emoticons (List of str) – A list of UTF-8 emojis, matching the category.

TL Schema

emojiGroup#7a9abda9
title:string
icon_emoji_id:long
emoticons:Vector<string>

= EmojiGroup

Parameter Tree

EmojiGroup
├── titlestring
├── icon_emoji_idlong
└── emoticonsVector < string >

Example

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