Raw.account.CreateTheme
Create a theme
account.createTheme#652e4400 flags:# slug:string title:string document:flags.2?InputDocument settings:flags.3?Vector<InputThemeSettings> = Theme;
export namespace Raw {
export namespace account {
export class CreateTheme {
constructor(params: {
slug: string;
title: string;
document?: Raw.TypeInputDocument;
settings?: Array<Raw.TypeInputThemeSettings>;
}) {}
}
}
}
This is a function constructor, you can use it as method when call invoke
Layer: 185
Constructor ID: 0x652e4400
Property
slug
: stringUnique theme id used to generate theme deep links, can be empty to autogenerate a random id.
title
: stringTheme name
document
: Raw.TypeInputDocument or undefinedTheme file
settings
: Array of Raw.TypeInputThemeSettings or undefinedTheme settings, multiple values can be provided for the different base themes (day/night mode, etc).