Constructor: documentAttributeCustomEmoji
Info about a custom emoji
Attributes:
Name | Type | Required | Description |
---|---|---|---|
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. |
alt | string | Yes | The actual emoji |
stickerset | InputStickerSet | Optional | The emoji stickerset to which this emoji belongs. |
Type: DocumentAttribute
Example:
$documentAttributeCustomEmoji = ['_' => 'documentAttributeCustomEmoji', 'free' => Bool, 'text_color' => Bool, 'alt' => 'string', 'stickerset' => InputStickerSet];