Raw.auth.RecoverPassword
Reset the 2fa password using the recovery code sent using auth.requestpasswordrecovery.
auth.recoverPassword#37096c70 flags:# code:string new_settings:flags.0?account.PasswordInputSettings = auth.Authorization;
export namespace Raw {
export namespace auth {
export class RecoverPassword {
constructor(params: { code: string; newSettings?: Raw.account.TypePasswordInputSettings }) {}
}
}
}
This is a function constructor, you can use it as method when call invoke
Layer: 185
Constructor ID: 0x37096c70
Property
code
: stringCode received via email
newSettings
: Raw.account.TypePasswordInputSettings or undefinedNew password