Layer 227
BotAppSettingsObj
Mini app settings
constructor
botAppSettings#c99b1950 flags:# placeholder_path:flags.0?bytes background_color:flags.1?int background_dark_color:flags.2?int header_color:flags.3?int header_dark_color:flags.4?int = BotAppSettings;
Parameters
| Name | Type | Description |
|---|---|---|
| PlaceholderPath | flags .0? bytes | SVG placeholder logo, compressed using the same format used for vector thumbnails. |
| BackgroundColor | flags .1? int | Default light mode background color |
| BackgroundDarkColor | flags .2? int | Default dark mode background color |
| HeaderColor | flags .3? int | Default light mode header color |
| HeaderDarkColor | flags .4? int | Default dark mode header color |
Returns
BotAppSettingsGogram Example
// Creating BotAppSettingsObj constructor obj := &tg.BotAppSettingsObj{ PlaceholderPath: nil, BackgroundColor: nil, BackgroundDarkColor: nil, HeaderColor: nil, HeaderDarkColor: nil, }