Custom emoji documents will contain documentAttributeCustomEmoji attribute instead of a documentAttributeSticker, containing information on the associated emoji (alt), whether the emoji can be used by non-premium users (free) and the associated stickerset.
+
Custom emoji documents will contain documentAttributeCustomEmoji attribute instead of a documentAttributeSticker, containing information on the associated emoji (alt), whether the emoji can be used by non-premium users (free) and the associated stickerset.
+If the documentAttributeCustomEmoji.text_color flag is set, 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.
Note that when sending messages with attached custom emojis, the messageEntityCustomEmojientity » must wrap exactly one regular emoji (the one contained in documentAttributeCustomEmoji.alt) in the related text, otherwise the server will ignore it.
To send a message with one or more custom emojis, create and attach messageEntityCustomEmojientities » to a message.
diff --git a/data/web/corefork.telegram.org/api/layers.html b/data/web/corefork.telegram.org/api/layers.html
index 156a573718..fb2f9675ee 100644
--- a/data/web/corefork.telegram.org/api/layers.html
+++ b/data/web/corefork.telegram.org/api/layers.html
@@ -261,7 +261,7 @@
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.
Keywords for some or every sticker in the stickerset.
documents
diff --git a/data/web/corefork.telegram.org/constructor/stickerSetFullCovered.html b/data/web/corefork.telegram.org/constructor/stickerSetFullCovered.html
index 775eeb851e..0a67df1058 100644
--- a/data/web/corefork.telegram.org/constructor/stickerSetFullCovered.html
+++ b/data/web/corefork.telegram.org/constructor/stickerSetFullCovered.html
@@ -80,7 +80,7 @@ Currently used only for custom emoji stickersets
Whether the color of TGS custom emojis contained in this set 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. For custom emoji stickersets only.