Link Search Menu Expand Document

Constructor: peerColor

Back to constructors index

Represents a color palette ».

Attributes:

NameTypeRequiredDescription
colorintOptionalColor palette ID, see here » for more info; if not set, the default palette should be used.
background_emoji_idlongOptionalOptional custom emoji ID used to generate the pattern.

Type: PeerColor

Example:

$peerColor = ['_' => 'peerColor', 'color' => int, 'background_emoji_id' => long];