MadelineProtoDocs/old_docs/API_docs_v109/constructors/inputThemeSettings.md
2020-03-06 12:24:14 +01:00

1.3 KiB

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

Constructor: inputThemeSettings

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 InputWallPaper Optional
wallpaper_settings WallPaperSettings Optional

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}