RecoverAuthenticationPassword class

Recovers the 2-step verification password with a password recovery code sent to an email address that was previously set up. Works only when the current authorization state is authorizationStateWaitPassword.

Returns Ok.

Inheritance
Available Extensions

Constructors

RecoverAuthenticationPassword({required String recovery_code, required String new_password, required String new_hint, int? extra, int? clientId})
Recovers the 2-step verification password with a password recovery code sent to an email address that was previously set up. Works only when the current authorization state is authorizationStateWaitPassword

Properties

clientId int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
extra int?
Request identifier. Must be non-zero.
read / writeoverride
hashCode int
The hash code for this object.
read-onlyinherited
new_hint String
New password hint; may be empty.
read / write
new_password String
New 2-step verification password of the user; may be empty to remove the password.
read / write
recovery_code String
Recovery code to check.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Object to Map serializer
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromMap(Map<String, dynamic>? _map) RecoverAuthenticationPassword?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"recoverAuthenticationPassword"