telegram api constructor · layer 229 · #8fde504f

inputThemeSettings

Theme settings

definition

inputThemeSettings#8fde504f flags:# message_colors_animated:flags.2?true base_theme:BaseTheme accent_color:int outbox_accent_color:flags.3?int message_colors:flags.0?Vector<int> wallpaper:flags.1?InputWallPaper wallpaper_settings:flags.1?WallPaperSettings = InputThemeSettings;

parameters

nametypedescription
flags#Flags, see TL conditional fields
message_colors_animatedflags.2?trueIf set, the freeform gradient fill needs to be animated on every sent message
base_themeBaseThemeDefault theme on which this theme is based
accent_colorintAccent color, ARGB format
outbox_accent_colorflags.3?intAccent color of outgoing messages in ARGB format
message_colorsflags.0?Vector<int>The fill to be used as a background for outgoing messages, in RGB24 format. If just one or two equal colors are provided, describes a solid fill of a background. If two different colors are provided, describes the top and bottom colors of a 0-degree gradient.If three or four colors are provided, describes a freeform gradient fill of a background.
wallpaperflags.1?InputWallPaperinputWallPaper or inputWallPaperSlug when passing wallpaper files for image or pattern wallpapers, inputWallPaperNoFile with id=0 otherwise.
wallpaper_settingsflags.1?WallPaperSettingsWallpaper settings.

type

InputThemeSettings

history

present in layers 107–229 · constructor id changed 2×

idlayers
#bd507cd1107–131
#ff38f912132
#8fde504f133–229