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

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

The wallpaper » of a given peer has changed.

Constructors

new
UpdatePeerWallpaper_(params: { wallpaper_overridden?: true; peer: enums.Peer; wallpaper?: enums.WallPaper; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
peer: enums.Peer

The peer where the wallpaper has changed.

optional
wallpaper: enums.WallPaper

The new wallpaper, if none the wallpaper was removed and the default wallpaper should be used.

optional
wallpaper_overridden: true

Whether the other user has chosen a custom wallpaper for us using messages.setChatWallPaper and the for_both flag, see here » for more info.

Static Properties

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