Link Search Menu Expand Document

Method: help.getPeerProfileColors

Back to methods index

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


hashArray of longOptional

Return type: help.PeerColors

Can bots use this method: NO

MadelineProto Example (now async for huge speed and parallelism!):

if (!file_exists('madeline.php')) {
    copy('', 'madeline.php');
include 'madeline.php';

$MadelineProto = new \danog\MadelineProto\API('session.madeline');

$help_PeerColors = $MadelineProto->help->getPeerProfileColors(hash: [$long, $long], );