help.peerColorProfileSet

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

Constructor schema is available as of layer 167. Switch »

Parameters

Name Type Description
palette_colors Vector<int> A list of 1-2 colors in RGB format, shown in the color palette settings to describe the current palette.
bg_colors 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.
story_colors 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.

Type

help.PeerColorSet

Related pages

Accent colors

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