help.getPeerProfileColors

Get the set of accent color palettes » that can be used in profile page backgrounds.

help.peerColorsNotModified#2ba1f5ce = help.PeerColors;
help.peerColors#f8ed08 hash:int colors:Vector<help.PeerColorOption> = help.PeerColors;
---functions---
help.getPeerProfileColors#abcfa9fd hash:int = help.PeerColors;

Parameters

Name Type Description
hash int Hash used for caching, for more info click here.
Note: the usual hash generation algorithm cannot be used in this case, please re-use the help.peerColors.hash field returned by a previous call to the method, or pass 0 if this is the first call.

Result

help.PeerColors

Related pages

Pagination in the API

How to fetch results from large lists of objects.

help.peerColors

Contains info about multiple color palettes ».

Accent colors

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