RecoverPassword class

Recovers the 2-step verification password using a recovery code sent to an email address that was previously set up.

Returns PasswordState.

Inheritance
Available Extensions

Constructors

RecoverPassword({required String recovery_code, required String new_password, required String new_hint, int? extra, int? clientId})
Recovers the 2-step verification password using a recovery code sent to an email address that was previously set up

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) RecoverPassword?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"recoverPassword"