Layer 220
HelpPeerColorProfileSet
Represents a color palette that can be used in profile pages.
constructor
help.peerColorProfileSet#767d61eb palette_colors:Vector<int> bg_colors:Vector<int> story_colors:Vector<int> = help.PeerColorSet;
Parameters
| Name | Type | Description |
|---|---|---|
| PaletteColors | Vector<int> | A list of 1-2 colors in RGB format, shown in the color palette settings to describe the current palette. |
| BgColors | Vector<int> | A list of 1-2 colors in RGB format describing the colors used to generate the actual background used in the profile page. |
| StoryColors | Vector<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. |
Returns
help.PeerColorSetGogram Example
// Creating HelpPeerColorProfileSet constructor obj := &tg.HelpPeerColorProfileSet{ PaletteColors: []int{}, BgColors: []int{}, StoryColors: []int{}, }