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

x/mtkruto/tl/2_types.ts>Theme_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class Theme_
extends _Theme_
import { Theme_ } from "https://deno.land/x/mtkruto@0.1.190/tl/2_types.ts";

Theme

Constructors

new
Theme_(params: { creator?: true; default?: true; for_chat?: true; id: bigint; access_hash: bigint; slug: string; title: string; document?: enums.Document; settings?: Array<enums.ThemeSettings>; emoticon?: string; installs_count?: number; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
access_hash: bigint

Theme access hash

optional
creator: true

Whether the current user is the creator of this theme

optional
default: true

Whether this is the default theme

optional
document: enums.Document

Theme

optional
emoticon: string

Theme emoji

optional
for_chat: true

Whether this theme is meant to be used as a chat theme

id: bigint

Theme ID

optional
installs_count: number

Installation count

optional
settings: Array<enums.ThemeSettings>

Theme settings

slug: string

Unique theme ID

title: string

Theme name

Static Properties

readonly
[name]: string
readonly
[paramDesc]: ParamDesc