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_uploadTheme_

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

Upload theme

Constructors

new
account_uploadTheme_(params: { file: enums.InputFile; thumb?: enums.InputFile; file_name: string; mime_type: string; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
file: enums.InputFile

Previously 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.

file_name: string

File name

mime_type: string

MIME type, must be application/x-tgtheme-{format}, where format depends on the client

optional
thumb: enums.InputFile

Thumbnail

Static Properties

__F: (params: { file: enums.InputFile; thumb?: enums.InputFile; file_name: string; mime_type: string; }) => enums.Document
readonly
[name]: string
readonly
[paramDesc]: ParamDesc