peerColorCollectible #
Represents a color palette » associated to a collectible gift », see here » for more info.¶
Layer 223
peerColorCollectible#b9c0639a flags:# collectible_id:long gift_emoji_id:long background_emoji_id:long accent_color:int colors:Vector<int> dark_accent_color:flags.0?int dark_colors:flags.1?Vector<int> = PeerColor; Parameters #
| Name | Type | Description |
|---|---|---|
| flags | # | Flags, see TL conditional fields |
| collectible_id | long | ID of the collectible gift ». |
| gift_emoji_id | long | Custom emoji ID » of the collectible gift: a single copy of this custom emoji should be displayed as-is (without recoloring it, unlike for background_emoji_id) in the top-right corner of the palette. |
| background_emoji_id | long | Custom emoji ID » used to generate the pattern. |
| accent_color | int | Accent color in RGB24 format, used for reply backgrounds and the user's name in messages. |
| colors | Vector<int> | 1-3 RGB24 colors to be used in the reply strip. |
| dark_accent_color | flags.0?int | Accent color in RGB24 format, used for reply backgrounds and the user's name in messages in dark mode (fallback to accent_color if absent). |
| dark_colors | flags.1?Vector<int> | 1-3 RGB24 colors to be used in the reply strip in dark mode (fallback to colors if absent). |
Type #
Related pages #
Telegram Gifts #
Users can send Gifts to their friends. The recipients of gifts can display them on their profile pages or turn them into Telegram Stars ». Telegram Stars can be used for many things, including supporting creators and buying services in mini apps.¶
Custom emojis #
Telegram allows including animated and static custom emojis inside of messages.¶
Accent colors #
Telegram users and channels can change the accent color and background pattern of their profile page and their messages!¶