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_uploadWallPaper_

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

Create and upload a new wallpaper

Constructors

new
account_uploadWallPaper_(params: { for_chat?: true; file: enums.InputFile; mime_type: string; settings: enums.WallPaperSettings; })

Properties

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

The JPG/PNG wallpaper

optional
for_chat: true

Set this flag when uploading wallpapers to be passed to messages.setChatWallPaper.

mime_type: string

MIME type of uploaded wallpaper

settings: enums.WallPaperSettings

Wallpaper settings

Static Properties

__F: (params: { for_chat?: true; file: enums.InputFile; mime_type: string; settings: enums.WallPaperSettings; }) => enums.WallPaper
readonly
[name]: string
readonly
[paramDesc]: ParamDesc