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

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

Reset the 2FA password using the recovery code sent using auth.requestPasswordRecovery.

Constructors

new
auth_recoverPassword_(params: { code: string; new_settings?: enums.account.PasswordInputSettings; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
code: string

Code received via email

optional
new_settings: enums.account.PasswordInputSettings

New password

Static Properties

__F: (params: { code: string; new_settings?: enums.account.PasswordInputSettings; }) => enums.auth.Authorization
readonly
[name]: string
readonly
[paramDesc]: ParamDesc