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

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

The wallpaper » of the current chat was changed.

Constructors

new
MessageActionSetChatWallPaper_(params: { same?: true; for_both?: true; wallpaper: enums.WallPaper; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
optional
for_both: true

If set, indicates the wallpaper was forcefully applied for both sides, without explicit confirmation from the other side.
If the message is incoming, and we did not like the new wallpaper the other user has chosen for us, we can re-set our previous wallpaper just on our side, by invoking messages.setChatWallPaper, providing only the revert flag (and obviously the peer parameter).

optional
same: true

If set, indicates the user applied a wallpaper » previously sent by the other user in a messageActionSetChatWallPaper message.

wallpaper: enums.WallPaper

Static Properties

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