Layer 220
ChatThemeUniqueGift
A chat theme based on a collectible gift.
constructor
chatThemeUniqueGift#3458f9c8 gift:StarGift theme_settings:Vector<ThemeSettings> = ChatTheme;
Parameters
| Name | Type | Description |
|---|---|---|
| Gift | StarGift | The owned collectible gift on which this theme is based, as a star Gift Unique constructor. |
| ThemeSettings | Vector<ThemeSettings> | Theme settings. |
Returns
ChatThemeGogram Example
// Creating ChatThemeUniqueGift constructor obj := &tg.ChatThemeUniqueGift{ Gift: &tg.StarGift{}, ThemeSettings: []tg.ThemeSettings{&tg.ThemeSettings{}}, }