Raw.account.UploadTheme
Upload theme
account.uploadTheme#1c3db333 flags:# file:InputFile thumb:flags.0?InputFile file_name:string mime_type:string = Document;
export namespace Raw {
export namespace account {
export class UploadTheme {
constructor(params: {
file: Raw.TypeInputFile;
thumb?: Raw.TypeInputFile;
fileName: string;
mimeType: string;
}) {}
}
}
}
This is a function constructor, you can use it as method when call invoke
Layer: 185
Constructor ID: 0x1c3db333
Property
file
: Raw.TypeInputFilePreviously uploaded theme file with platform-specific colors for ui components, can be left unset when creating themes that only modify the wallpaper or accent colors.
thumb
: Raw.TypeInputFile or undefinedThumbnail
fileName
: stringFile name
mimeType
: stringMime type, must be application/x-tgtheme-format, where format depends on the client