Layer 220
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

ChatTheme

Gogram Example

// Creating ChatThemeUniqueGift constructor
obj := &tg.ChatThemeUniqueGift{
    Gift: &tg.StarGift{},
    ThemeSettings: []tg.ThemeSettings{&tg.ThemeSettings{}},
}