telegram api constructor · layer 229 · #767d61eb

help.peerColorProfileSet

Represents a color palette that can be used in profile pages ».

definition

help.peerColorProfileSet#767d61eb palette_colors:Vector<int> bg_colors:Vector<int> story_colors:Vector<int> = help.PeerColorSet;

parameters

nametypedescription
palette_colorsVector<int>A list of 1-2 colors in RGB format, shown in the color palette settings to describe the current palette.
bg_colorsVector<int>A list of 1-2 colors in RGB format describing the colors used to generate the actual background used in the profile page.
story_colorsVector<int>A list of 2 colors in RGB format describing the colors of the gradient used for the unread active story indicator around the profile photo.

type

help.PeerColorSet · other constructors: help.peerColorSet

history

present in layers 167–229

idlayers
#767d61eb167–229