Layer 220
WebPageAttributeTheme
Page theme
constructor
webPageAttributeTheme#54b56617 flags:# documents:flags.0?Vector<Document> settings:flags.1?ThemeSettings = WebPageAttribute;
Parameters
| Name | Type | Description |
|---|---|---|
| Flags | # | Flags, see TL conditional fields |
| Documents | Vector<Document> | Theme files |
| Settings | flags.1?ThemeSettings | Theme settings |
Returns
WebPageAttributeGogram Example
// Creating WebPageAttributeTheme constructor obj := &tg.WebPageAttributeTheme{ // Optional fields: // Documents: []tg.Document{&tg.Document{}}, // Settings: &tg.ThemeSettings{}, }