help.peerColorOption #

Contains info about a color palette ».

Layer 223

help.peerColorOption#adec6ebe flags:# hidden:flags.0?true color_id:int colors:flags.1?help.PeerColorSet dark_colors:flags.2?help.PeerColorSet channel_min_level:flags.3?int group_min_level:flags.4?int = help.PeerColorOption;

Parameters #

NameTypeDescription
flags#Flags, see TL conditional fields
hiddenflags.0?trueWhether this palette should not be displayed as an option to the user when choosing a palette to apply to profile pages or message accents.
color_idintPalette ID.
colorsflags.1?help.PeerColorSetLight mode palette.
Will be empty for IDs 0 to 6 inclusive, in which case a palette containing a single color from the following colors should be used: red, orange, violet, green, cyan, blue, pink for indexes 0 to 6 (i.e. the same colors used for the randomized fallback color palette).
dark_colorsflags.2?help.PeerColorSetDark mode palette. Optional, defaults to the palette in colors (or the autogenerated palette for IDs 0 to 6) if absent.
channel_min_levelflags.3?intChannels can use this palette only after reaching at least the boost level specified in this field.
group_min_levelflags.4?intSupergroups can use this palette only after reaching at least the boost level specified in this field.

Type #

help.PeerColorOption

Accent colors #

Telegram users and channels can change the accent color and background pattern of their profile page and their messages!

Channel and supergroup boosts #

Telegram Premium users can grant their favorite channels and supergroups additional features like the ability to post stories by giving them boosts.