Layer 220
PeerColorCollectible
constructor
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 |
|---|---|---|
| CollectibleId | long | |
| GiftEmojiId | long | |
| BackgroundEmojiId | long | |
| AccentColor | int | |
| Colors | Vector<int> | |
| DarkAccentColor | flags.0?int | |
| DarkColors | Vector<int> |
Returns
PeerColorGogram Example
// Creating PeerColorCollectible constructor obj := &tg.PeerColorCollectible{ CollectibleId: int64(0), GiftEmojiId: int64(0), BackgroundEmojiId: int64(0), AccentColor: 0, Colors: []int{}, // Optional fields: // DarkAccentColor: 0, // DarkColors: []int{}, }