Link Search Menu Expand Document

Constructor: help.peerColorProfileSet

Back to constructors index

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

Attributes:

NameTypeRequiredDescription
palette_colorsArray of intYesA list of 1-2 colors in RGB format, shown in the color palette settings to describe the current palette.
bg_colorsArray of intYesA list of 1-2 colors in RGB format describing the colors used to generate the actual background used in the profile page.
story_colorsArray of intYesA 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

Example:

$help_peerColorProfileSet = ['_' => 'help.peerColorProfileSet', 'palette_colors' => [int, int], 'bg_colors' => [int, int], 'story_colors' => [int, int]];