Constructor: inputThemeSettings

Back to constructors index

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}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.