MadelineProtoDocs/old_docs/API_docs_v40/constructors/inputThemeSettings.md
2020-06-16 17:50:25 +02:00

1.4 KiB

title description image
inputThemeSettings Theme settings https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

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}