Raw.InputThemeSettings

Raw.InputThemeSettings

Theme settings

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;
export namespace Raw {
  export class InputThemeSettings {
    constructor(params: {
      messageColorsAnimated?: boolean;
      baseTheme: Raw.TypeBaseTheme;
      accentColor: number;
      outboxAccentColor?: number;
      messageColors?: Array<number>;
      wallpaper?: Raw.TypeInputWallPaper;
      wallpaperSettings?: Raw.TypeWallPaperSettings;
    }) {}
  }
}
🚫

This is a types constructor, you can’t use it as method when call invoke.

Layer: 185
Constructor ID: 0x8fde504f

Property

  • messageColorsAnimated : boolean or undefined

    If set, the freeform gradient fill needs to be animated on every sent message

  • baseTheme : Raw.TypeBaseTheme

    Default theme on which this theme is based

  • accentColor : number

    Accent color, argb format

  • outboxAccentColor : number or undefined

    Accent color of outgoing messages in argb format

  • messageColors : Array of number or undefined

    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.

  • wallpaper : Raw.TypeInputWallPaper or undefined

    Inputwallpaper or inputwallpaperslug when passing wallpaper files for image or pattern wallpapers, inputwallpapernofile with id=0 otherwise.

  • wallpaperSettings : Raw.TypeWallPaperSettings or undefined

    Wallpaper settings.