Raw.Theme
Theme
theme#a00e67d6 flags:# creator:flags.0?true default:flags.1?true for_chat:flags.5?true id:long access_hash:long slug:string title:string document:flags.2?Document settings:flags.3?Vector<ThemeSettings> emoticon:flags.6?string installs_count:flags.4?int = Theme;
export namespace Raw {
export class Theme {
constructor(params: {
creator?: boolean;
default?: boolean;
forChat?: boolean;
id: bigint;
accessHash: bigint;
slug: string;
title: string;
document?: Raw.TypeDocument;
settings?: Array<Raw.TypeThemeSettings>;
emoticon?: string;
installsCount?: number;
}) {}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 185
Constructor ID: 0xa00e67d6
Property
creator
: boolean or undefinedWhether the current user is the creator of this theme
default
: boolean or undefinedWhether this is the default theme
forChat
: boolean or undefinedWhether this theme is meant to be used as a chat theme
id
: bigintTheme id
accessHash
: bigintTheme access hash
slug
: stringUnique theme id
title
: stringTheme name
document
: Raw.TypeDocument or undefinedTheme
settings
: Array of Raw.TypeThemeSettings or undefinedTheme settings
emoticon
: string or undefinedTheme emoji
installsCount
: number or undefinedInstallation count