Raw.ThemeSettings
Theme settings
themeSettings#fa58b6d4 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?WallPaper = ThemeSettings;
export namespace Raw {
export class ThemeSettings {
constructor(params: {
messageColorsAnimated?: boolean;
baseTheme: Raw.TypeBaseTheme;
accentColor: number;
outboxAccentColor?: number;
messageColors?: Array<number>;
wallpaper?: Raw.TypeWallPaper;
}) {}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 185
Constructor ID: 0xfa58b6d4
Property
messageColorsAnimated
: boolean or undefinedIf set, the freeform gradient fill needs to be animated on every sent message.
baseTheme
: Raw.TypeBaseThemeBase theme
accentColor
: numberAccent color, argb format
outboxAccentColor
: number or undefinedAccent color of outgoing messages in argb format
messageColors
: Array of number or undefinedThe 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.
wallpaper
: Raw.TypeWallPaper or undefinedWallpaper