Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/mtkruto/tl/3_functions.ts>account_installTheme_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class account_installTheme_
extends Function_<boolean>
import { account_installTheme_ } from "https://deno.land/x/mtkruto@0.1.190/tl/3_functions.ts";

Install a theme

Constructors

new
account_installTheme_(params?: { dark?: true; theme?: enums.InputTheme; format?: string; base_theme?: enums.BaseTheme; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
optional
base_theme: enums.BaseTheme

Indicates a basic theme provided by all clients

optional
dark: true

Whether to install the dark version

optional
format: string

Theme format, a string that identifies the theming engines supported by the client

optional
theme: enums.InputTheme

Theme to install

Static Properties

__F: (params?: { dark?: true; theme?: enums.InputTheme; format?: string; base_theme?: enums.BaseTheme; }) => boolean
readonly
[name]: string
readonly
[paramDesc]: ParamDesc