Skip to main content

documentAttributeCustomEmoji

Info about a custom emoji

type tg.DocumentAttributeCustomEmoji struct { /* ... */ }

Implements DocumentAttribute.

Fields

NameTypeRequiredDescription
FreeboolWhether this custom emoji can be sent by non-Premium users
TextColorboolWhether 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.
AltstringyesThe actual emoji
StickersetInputStickerSetClassyesThe emoji stickerset to which this emoji belongs.

References