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_deleteAccount_

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

Delete the user's account from the telegram servers.

Constructors

new
account_deleteAccount_(params: { reason: string; password?: enums.InputCheckPasswordSRP; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
optional
password: enums.InputCheckPasswordSRP

2FA password: this field can be omitted even for accounts with 2FA enabled: in this case account account deletion will be delayed by 7 days as specified in the docs »

reason: string

Why is the account being deleted, can be empty

Static Properties

__F: (params: { reason: string; password?: enums.InputCheckPasswordSRP; }) => boolean
readonly
[name]: string
readonly
[paramDesc]: ParamDesc