peerColor

Represents a color palette ».

Constructor schema is available as of layer 167. Switch »

Parameters

Name Type Description
flags # Flags, see TL conditional fields
color flags.0?int Color palette ID, see here » for more info; if not set, the default palette should be used.
background_emoji_id flags.1?long Optional custom emoji ID used to generate the pattern.

Type

PeerColor

Related pages

Accent colors

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

Custom emojis

Telegram allows including animated and static custom emojis inside of messages.