1.4 KiB
1.4 KiB
title | description | image |
---|---|---|
inputThemeSettings | Theme settings | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: inputThemeSettings
Theme settings
Attributes:
Name | Type | Required | Description |
---|---|---|---|
base_theme | BaseTheme | Yes | Default theme on which this theme is based |
accent_color | int | Yes | Accent color, RGB24 format |
message_top_color | int | Optional | Message gradient color (top), RGB24 format |
message_bottom_color | int | Optional | Message gradient color (bottom), RGB24 format |
wallpaper | InputWallPaper | Optional | Wallpaper |
wallpaper_settings | WallPaperSettings | Optional | Wallpaper settings |
Type: InputThemeSettings
Example:
$inputThemeSettings = ['_' => 'inputThemeSettings', 'base_theme' => BaseTheme, 'accent_color' => int, 'message_top_color' => int, 'message_bottom_color' => int, 'wallpaper' => InputWallPaper, 'wallpaper_settings' => WallPaperSettings];
Or, if you're into Lua:
inputThemeSettings={_='inputThemeSettings', base_theme=BaseTheme, accent_color=int, message_top_color=int, message_bottom_color=int, wallpaper=InputWallPaper, wallpaper_settings=WallPaperSettings}