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>WallPaper_

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

Represents a wallpaper based on an image.

Constructors

new
WallPaper_(params: { id: bigint; creator?: true; default?: true; pattern?: true; dark?: true; access_hash: bigint; slug: string; document: enums.Document; settings?: enums.WallPaperSettings; })

Properties

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

Access hash

optional
creator: true

Whether we created this wallpaper

optional
dark: true

Whether this wallpaper should be used in dark mode.

optional
default: true

Whether this is the default wallpaper

document: enums.Document

The actual wallpaper

id: bigint

Identifier

optional
pattern: true

Whether this is a pattern wallpaper »

optional
settings: enums.WallPaperSettings

Info on how to generate the wallpaper, according to these instructions ».

slug: string

Unique wallpaper ID, used when generating wallpaper links or importing wallpaper links.

Static Properties

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