documentAttributeCustomEmoji
Info about a custom emoji
type tg.DocumentAttributeCustomEmoji struct { /* ... */ }
Implements DocumentAttribute.
Fields
| Name | Type | Required | Description |
|---|---|---|---|
Free | bool | — | Whether this custom emoji can be sent by non-Premium users |
TextColor | bool | — | 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. |
Alt | string | yes | The actual emoji |
Stickerset | InputStickerSetClass | yes | The emoji stickerset to which this emoji belongs. |
References
- Official documentation
- Generated Go reference
- TL definition:
documentAttributeCustomEmoji#fd149899