DocumentAttributeCustomEmoji#

class pyrogram.raw.types.DocumentAttributeCustomEmoji#

Info about a custom emoji.

Constructor of DocumentAttribute.

Details:
  • Layer: 158

  • ID: FD149899

Parameters:
  • alt (str) – The actual emoji.

  • stickerset (InputStickerSet) – The emoji stickerset to which this emoji belongs.

  • free (bool, optional) – Whether this custom emoji can be sent by non-Premium users.

  • text_color (bool, optional) – Whether the color of this TGS custom emoji should be changed to the text color when used in messages, the accent color if used as emoji status, white on chat photos, or another appropriate color based on context.