MadelineProtoDocs/docs/API_docs/constructors/themeSettings.md

1.0 KiB

title description image
themeSettings themeSettings attributes, type and example https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: themeSettings

Back to constructors index

Attributes:

Name Type Required
base_theme BaseTheme Yes
accent_color int Yes
message_top_color int Optional
message_bottom_color int Optional
wallpaper WallPaper Optional

Type: ThemeSettings

Example:

$themeSettings = ['_' => 'themeSettings', 'base_theme' => BaseTheme, 'accent_color' => int, 'message_top_color' => int, 'message_bottom_color' => int, 'wallpaper' => WallPaper];

Or, if you're into Lua:

themeSettings={_='themeSettings', base_theme=BaseTheme, accent_color=int, message_top_color=int, message_bottom_color=int, wallpaper=WallPaper}