From 66b49a2d5da7c6809498714e615f3e49f5d26db8 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Thu, 8 Feb 2024 20:39:56 +0000 Subject: [PATCH] Update content of files --- data/web/corefork.telegram.org/api/colors.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/data/web/corefork.telegram.org/api/colors.html b/data/web/corefork.telegram.org/api/colors.html index 57529a0fe5..1929d4aee4 100644 --- a/data/web/corefork.telegram.org/api/colors.html +++ b/data/web/corefork.telegram.org/api/colors.html @@ -81,7 +81,8 @@ If the hidden flag is set it should not be displayed as an option t

All custom emojis in custom emoji stickersets ยป with text_color flag set can also be used for the same purpose.

Use account.updateColor to update the color palette of the current account's message accents and/or profile page; note that the current account must be subscribed to Telegram Premium in order to call the method.
Use channels.updateColor to update the color palette of the channel's message/profile page accents.

-

Note that channels can use a palette only after reaching at least the boost level specified in the channel_min_level field of the help.peerColorOption constructor for the chosen palette: this is the only limitation for channel message accent palettes, while to change profile palettes, channels must also reach at least the boost level specified in the channel_profile_bg_icon_level_min config parameter.

+

Note that channels can use a message accent palette or profile palette only after reaching at least the boost level specified in the channel_min_level field of the help.peerColorOption constructor for the chosen palette.

+

Additionally, to change profile palettes, channels must also reach at least the boost level specified in the channel_profile_bg_icon_level_min config parameter.

The chosen message accent palette will be visible to other users in the channel.color and user.color fields.

The chosen user and channel profile palettes will be visible in the user.profile_color and channel.profile_color fields.